ms-access-2013

Add corresponding OLE object (image) in table through button on form in MS Access

不打扰是莪最后的温柔 提交于 2021-02-11 14:24:10
问题 I have a table Students with the following fields: Voornaam, Achternaam and Foto. The fields Voornaam and Achternaam are filled in with the students firstname and lastname. The field Foto (Picture) is empty. Because I don't want to manually add every picture of the students I wanted to do it with some code. I have a form where I put the records and I have a button to load the photos in the empty fields. I also have a textbox where I could say where he has to look for the photos. This is my

Access Linked to SQL: Wrong data shown for a newly created record

旧巷老猫 提交于 2021-02-10 22:27:13
问题 I'm using tables in Access (2013), that are linked to an SQL database. The primary key is a column 'RowId', containing a GUID. When I'm adding a new record to the table, and I leave the RowId blank. The record is inserted in the SQL database, but then the added record is filled up with data of another record. After investigating the problem with SQL Server Profiler, I discovered that this happens: First, an INSERT statement is processed: exec sp_executesql N'INSERT INTO "{table}" ("{column1}"

Access Linked to SQL: Wrong data shown for a newly created record

江枫思渺然 提交于 2021-02-10 22:21:48
问题 I'm using tables in Access (2013), that are linked to an SQL database. The primary key is a column 'RowId', containing a GUID. When I'm adding a new record to the table, and I leave the RowId blank. The record is inserted in the SQL database, but then the added record is filled up with data of another record. After investigating the problem with SQL Server Profiler, I discovered that this happens: First, an INSERT statement is processed: exec sp_executesql N'INSERT INTO "{table}" ("{column1}"

Microsoft DAO 3.6 object library missing

半城伤御伤魂 提交于 2021-02-08 08:22:31
问题 I tried to connect Microsoft Access 2013 with Visual Basic 6. Microsoft Access file extension use 2002-2003 file extension as a .mdb. But Microsoft DAO 3.6 object library missing in Visual Basic 6. How to add this library for program? 回答1: DAO is ancient technology and it would be beneficial for you to move to ADO if possible. But assuming it's somebody else's world and you're just living in it ... Copied directly from an MS KB article. To redistribute DAO 3.6 with an application, complete

Microsoft DAO 3.6 object library missing

雨燕双飞 提交于 2021-02-08 08:21:01
问题 I tried to connect Microsoft Access 2013 with Visual Basic 6. Microsoft Access file extension use 2002-2003 file extension as a .mdb. But Microsoft DAO 3.6 object library missing in Visual Basic 6. How to add this library for program? 回答1: DAO is ancient technology and it would be beneficial for you to move to ADO if possible. But assuming it's somebody else's world and you're just living in it ... Copied directly from an MS KB article. To redistribute DAO 3.6 with an application, complete

Quartile/Percentile in MS Access via SQL with a GROUP BY when some values can be NULL

别来无恙 提交于 2021-02-02 09:53:50
问题 I am looking to calculate a percentile of a subgroup for a field that can be NULL. Field IU is either 1 or Null. Specifically: *my table: tblFirst250 *group by: IU = 1 (which is Nullable) *percentile of: GM (which is Nullable) I am starting with the following (but I am open to better ways of doing this): select T.groupField, 0.75*(select max(myField) from myTable where myTable.myField in (select top 25 percent myField from myTable where myTable.groupField = T.groupField order by myField)) + 0

MS ACCESS 2013-2016 continuous form shows error when adding any record past the 3rd when connected via ADO to SQL SERVER. Can this be fixed?

懵懂的女人 提交于 2021-01-28 19:08:30
问题 MS ACCESS 2013-2016 continuous forms show an error when adding any record past the 3rd. I have connected via ADO to SQL SERVER. I have been working on this issue for days. I am hoping there is something I can modify in my connection string, use a different library, or anything I can do in VBA to avoid building multiple workarounds in a project that has existed and grown over 20 years. Is this a known issue? Can this be fixed? Link to Continuous Form Showing Error This is the form code I am

Are Access 2010 databases not accessible with Excel if password protected using default encryption (High Security)?

人盡茶涼 提交于 2021-01-27 07:28:00
问题 I am currently supporting an Excel 2010 spreadsheet and Access 2010 database that were written by business users. One of the requirements of the Access database is that it be encrypted. It was encrypted with the default encryption settings "Use default encryption(Higher security)" which can be set in Options -> Client Settings. Now that the database is password protected and encrypted, I am unable to connect to the database through Excel. My testing revolves around importing data into Excel,

Are Access 2010 databases not accessible with Excel if password protected using default encryption (High Security)?

人盡茶涼 提交于 2021-01-27 07:24:51
问题 I am currently supporting an Excel 2010 spreadsheet and Access 2010 database that were written by business users. One of the requirements of the Access database is that it be encrypted. It was encrypted with the default encryption settings "Use default encryption(Higher security)" which can be set in Options -> Client Settings. Now that the database is password protected and encrypted, I am unable to connect to the database through Excel. My testing revolves around importing data into Excel,

Are Access 2010 databases not accessible with Excel if password protected using default encryption (High Security)?

老子叫甜甜 提交于 2021-01-27 07:23:30
问题 I am currently supporting an Excel 2010 spreadsheet and Access 2010 database that were written by business users. One of the requirements of the Access database is that it be encrypted. It was encrypted with the default encryption settings "Use default encryption(Higher security)" which can be set in Options -> Client Settings. Now that the database is password protected and encrypted, I am unable to connect to the database through Excel. My testing revolves around importing data into Excel,