J
Jeff
I am trying to set my Access project to be able to use a different
database so that when my users report problems (bugs!) I can just
switch the application to use a test database. I have everything
working fine with selecting/opening the new database. Problem is on
comboboxs. When I drop down the box I see the data from the table that
is in the project and not my alternate. If a add a record to that
table using my add function, it adds it to the alternate like it is
supposed to. My row source for the combobox was created using the
query builder. I tried to modify it to point it to the current active
database but get syntax errors.
Here is the current row source
SELECT SalesReps.Sales_Rep_Name FROM SalesReps;
I think I need to include IN in this sql stmt.
SELECT SalesReps.Sales_Rep_Name FROM SalesReps IN <database name>;
I can't seem to get the correct syntax for it to work.
database so that when my users report problems (bugs!) I can just
switch the application to use a test database. I have everything
working fine with selecting/opening the new database. Problem is on
comboboxs. When I drop down the box I see the data from the table that
is in the project and not my alternate. If a add a record to that
table using my add function, it adds it to the alternate like it is
supposed to. My row source for the combobox was created using the
query builder. I tried to modify it to point it to the current active
database but get syntax errors.
Here is the current row source
SELECT SalesReps.Sales_Rep_Name FROM SalesReps;
I think I need to include IN in this sql stmt.
SELECT SalesReps.Sales_Rep_Name FROM SalesReps IN <database name>;
I can't seem to get the correct syntax for it to work.