Relative Content

Tag Archive for ms-access

Microsoft Access doesn’t appear to use my File DSN beyond the initial setup

I need to create some linked tables in Microsoft Access to tables in SQL Server. I created a File DSN ODBC connection to my SQL Server, then in Access, chose New Data Source > From Other Sources > ODBC Database, selected “Link to the data source by creating a linked table”, navigated to my file DSN, selected my tables, and everything is working great, I’ve got data in my linked tables.

List Box is not Updating with Change

I have a list box (List68) that on change I want to use the bound id column of the list to query a multivalue field based on the id of that column. I want the values (for viewing only) to be added and displayed in another list box (List71). There is a one to many relationship between L3Process.ID and L3Process.DataObjects.

Populate a List Box with Values of a Commit Separated Field

My DataObjects field is a combo box display field. I want to take all of the checked values from the combo box and show them in a list box. In my table “L3Process”, the “DataObjects” field takes values in a comma separated list (i.e. 1,2,3,4,5). In design view, the “DataObjects” field is classified as a “number”.

Is there a way to pass an argument to an access macro or submacro from a button

I want to write submacros that open reports from forms.
My forms would have buttons that say things like “Print Report”, “Show Print View”, etc.
I want to call the same submacros from different forms, since the only difference is the name of the report.
The buttons would call the macro with the name of the report.
Is there a way to pass the name of the report from the button to the macro?
I’m pretty sure it is possible in VBA, but I want to know if it will work as a macro
TIA