lookforsmt
Registered User.
- Local time
- Today, 03:07
- Joined
- Dec 26, 2011
- Messages
- 672
Hi! all
I have form linked to a table which has tables/queries listed in it. Its on-click event exports the data in excel format. No problem here.
The issue is when the query has parameter with date prompt the on-click event fails. Below is the error msg.
Instead of date prompt in query, if the date (start & end) is inputted on the export form and export code returns the queries and then exports the data to excel.
any suggestions. I am uploading my db.
I have form linked to a table which has tables/queries listed in it. Its on-click event exports the data in excel format. No problem here.
The issue is when the query has parameter with date prompt the on-click event fails. Below is the error msg.
PHP:
"Run-time error 3061"
Too few parameters, expected 2
VBA code error
Set rsSrc = db.OpenRecordset(ThisTable)
Instead of date prompt in query, if the date (start & end) is inputted on the export form and export code returns the queries and then exports the data to excel.
any suggestions. I am uploading my db.