ms-access

Rearranging the tab order of fields in a sub form in data sheet view

二次信任 提交于 2020-08-11 18:43:30
问题 This is an ongoing problem, and I'm hoping there is just a property that I'm missing. Scenario: I have a form that contains subforms. The Default View property for the subforms is set to Datasheet. (The main form is set to Single Form). Due to changes in what I'm tracking, I want to include another field that wasn't part of the original record source. So, I changed the record source (a query) and added the field to the subform. The new field is added to the end of the Datasheet view by

MS Access VBA to run all saved imports together

孤街醉人 提交于 2020-08-11 05:06:45
问题 I am looking for a VBA code to run multiple saved imports in MS Access 2010. I used DoCmd.RunSavedImportExport "*" but gave an error. I know I am doing something wrong here. Please understand I am a newbie to VBA. I have almost 8 saved imports in .csv formats in a specific location. All I want is to automate it through VBA. 回答1: i guess you have taken all other necessary steps already. loop through the saved import/export and execute them one by one. something like: pseudo would be: loop

Microsoft Access Database is in an inconsistent state [duplicate]

*爱你&永不变心* 提交于 2020-08-11 04:28:51
问题 This question already has answers here : Recent rash of Microsoft Access database files in an inconsistent state (2 answers) Closed yesterday . We have a client that uses our MS Acccess based software, they are up to 20 users working on the front end at the same time. Each user has its own .mde front end and the backend database is a .accdb... My question is why only this clients database keeps getting corrupted or in an "inconsistent state". None of our other clients expierence this problem.

How to decompile an Access database?

你。 提交于 2020-08-11 01:44:29
问题 Any time I try to decompile my access DB it says: ‘MSACCESS.EXE’ is not recognized as an internal or external command, operable program or batch file. Here is the command I am using to decompile my DB: C:\Program files\Microsoft Office\root\Office16\MSACCESS.EXE /decompile . What am I doing wrong? 来源: https://stackoverflow.com/questions/55901715/how-to-decompile-an-access-database

Exporting tables to csv changes file extension

て烟熏妆下的殇ゞ 提交于 2020-08-10 19:21:36
问题 I'm trying to export all my tables, from my access database, to separate .csv-files. I have a loop that runs through all tables and by using TransferText I want to create a .csv-file for each table. I am able to create a single file by writing the TransferText method. DoCmd.TransferText acExportDelim, "ExportCsv", [Table name], filePath + "Test.csv", True But when I'm trying to create a loop to generate a file for each table I get into trouble. (Filepath is set to desktop) ' Loops through all

Update table field by summing field from another table [duplicate]

南楼画角 提交于 2020-08-10 19:18:14
问题 This question already has answers here : Access - query update with Inner Join (2 answers) Closed 25 days ago . I am trying to update a table filed taking value from another table by summing a field based on EmpID . In tblEmpInfo EmpID is primary key. I have saw few post on this site but couldn't adopt to my file. Here is my code till yet. UPDATE tblEmpInfo AS c INNER JOIN (SELECT EmpID, SUM(ProfidentFund) AS total FROM tblTransactions GROUP BY EmpID) AS x ON c.EmpID = x.EmpID SET c

Tableau MS_Access Not Returning Correct Count

耗尽温柔 提交于 2020-08-10 19:16:12
问题 I have connected Tableau to an MS-Access backend as my datasource. One of my tables has testing categories (1-19) and the other table has the actual tests done by different supervisors. Each test that the supervisor completes is assigned a category. I need to show a count of how many tests in each category each supervisor has completed in a given month. I am able to show the count if the supervisor completed a test in a category, the problem I am having is when the supervisor has not

How do I allow databases to run activex content when opened with VBA?

穿精又带淫゛_ 提交于 2020-08-10 06:06:24
问题 In Access 2013 (64-bit) I'm opening another database (db2) when the user clicks a button on a form in db1. This is working. However, when it opens db2 I get the warning bar "Security warning: Some active content has been disabled. Click for more details" with a button to enable the content. This is annoying and when I open the database from db1 with forms also opened, when I click the button to enable the content all currently open forms are closed. Both databases are in the same directory,

How do I allow databases to run activex content when opened with VBA?

耗尽温柔 提交于 2020-08-10 06:06:22
问题 In Access 2013 (64-bit) I'm opening another database (db2) when the user clicks a button on a form in db1. This is working. However, when it opens db2 I get the warning bar "Security warning: Some active content has been disabled. Click for more details" with a button to enable the content. This is annoying and when I open the database from db1 with forms also opened, when I click the button to enable the content all currently open forms are closed. Both databases are in the same directory,

How do I allow databases to run activex content when opened with VBA?

夙愿已清 提交于 2020-08-10 06:05:14
问题 In Access 2013 (64-bit) I'm opening another database (db2) when the user clicks a button on a form in db1. This is working. However, when it opens db2 I get the warning bar "Security warning: Some active content has been disabled. Click for more details" with a button to enable the content. This is annoying and when I open the database from db1 with forms also opened, when I click the button to enable the content all currently open forms are closed. Both databases are in the same directory,