Hi. I have used the search function before posting this question, and was not able to find my response. This is my problem.
I am migrating an Access 2002 backend to Mysql in hopes of getting better performance from mysql's client/server architecture. Mainly because I am linking various Access front ends across the state, to a MYSQL server backend.
I have successfully eliminated the use of linked tables and simply open recordsets via ADO to the mysql backend. For forms, this works like a charm. But in Access 2002, you cannot assign a recordset to a report. It says that "this cannot be done in an MDB."
I could use pass through queries, but my problem is that pass through queries cannot be programmed to include references to form's text boxes. For example:
Select * from Inventory Where StockNum = Forms!Form1!text1
I need to able to make an SQL statement dynamically right before opening the report.
How would you guys print reports considering these limitations? Would you open an ADO recordset, and copy all the records to an Access temp table, and open the report based on that table? Or is there a way to programmatically create a pass through query? Or could I use an ADP project with a Mysql backed instead.
Thanyyou very much. I have extensive VBA and Access 2000/2002 knowledge.
I am migrating an Access 2002 backend to Mysql in hopes of getting better performance from mysql's client/server architecture. Mainly because I am linking various Access front ends across the state, to a MYSQL server backend.
I have successfully eliminated the use of linked tables and simply open recordsets via ADO to the mysql backend. For forms, this works like a charm. But in Access 2002, you cannot assign a recordset to a report. It says that "this cannot be done in an MDB."
I could use pass through queries, but my problem is that pass through queries cannot be programmed to include references to form's text boxes. For example:
Select * from Inventory Where StockNum = Forms!Form1!text1
I need to able to make an SQL statement dynamically right before opening the report.
How would you guys print reports considering these limitations? Would you open an ADO recordset, and copy all the records to an Access temp table, and open the report based on that table? Or is there a way to programmatically create a pass through query? Or could I use an ADP project with a Mysql backed instead.
Thanyyou very much. I have extensive VBA and Access 2000/2002 knowledge.