ms-access-2010

Hiding the navigation pane

谁都会走 提交于 2021-01-28 08:50:55
问题 OK, so I need to hide the navigation pane but struggling. I am using a module to hide it and have tried the following but to no avail: DoCmd.NavigateTo "acNavigationCategoryObjectType" DoCmd.RunCommand acCmdWindowHide I have also tried: DoCmd.SelectObject acTable, , False Neither are working - Any ideas? 回答1: try this: DoCmd.SelectObject acTable, , True DoCmd.RunCommand (acCmdWindowHide) if that doesn't work, use a table name that exists instead of skipping that second argument in docmd

Cascading Combo box doesn't update 2nd box options

强颜欢笑 提交于 2021-01-28 05:19:42
问题 I am using MS Access 2010 to store records about audits that take place at our hospital. I am trying to create a form where it will filter the audits according to the drop down options selected. I want the Specialty combo boxes to cascade from Directorate, so if I select "Family and Public Health" Directorate, only the Specialties that are within that Directorate appear in the combo box below. My ComboDirectorate Row Source is SELECT [tblDirectorate].[Directorate Key], [tblDirectorate].

Case sensitive searching in MS Access

跟風遠走 提交于 2021-01-28 05:04:20
问题 I have a query which searches rows in a database for matching strings. An example row may be: This is a row which contains a String The query that I am currently running is syntactically identical to SELECT table.column FROM table WHERE table.column LIKE "*String*" although it returns every row where the text "string" is found, regardless of case. Does MS Access 2010 have any sort of case sensitive string comparator that I should be using instead of this? 回答1: You will have to resort to VBA

Two Inner Joins in OleDb SQL query [duplicate]

浪子不回头ぞ 提交于 2021-01-27 13:33:38
问题 This question already has answers here : SQL multiple join statement (3 answers) Closed 2 years ago . I'm trying to make an SQL query with an OleDbCommand into an Access database (.accdb). While this command works fine (in a OleDbCommand.ExecuteReader() ): string command = "SELECT cred.* " + "FROM TB_CREDENTIALS cred " + "INNER JOIN TB_REL_USERS_CREDENTIALS rel ON cred.CRED_ID = rel.REL_USR_CRED_CRED_ID "; This other doesn't, and I can't understand why (all examples I see around use the exact

Two Inner Joins in OleDb SQL query [duplicate]

人走茶凉 提交于 2021-01-27 13:30:35
问题 This question already has answers here : SQL multiple join statement (3 answers) Closed 2 years ago . I'm trying to make an SQL query with an OleDbCommand into an Access database (.accdb). While this command works fine (in a OleDbCommand.ExecuteReader() ): string command = "SELECT cred.* " + "FROM TB_CREDENTIALS cred " + "INNER JOIN TB_REL_USERS_CREDENTIALS rel ON cred.CRED_ID = rel.REL_USR_CRED_CRED_ID "; This other doesn't, and I can't understand why (all examples I see around use the exact

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,