Adrianna
Registered User.
- Local time
- Today, 16:54
- Joined
- Oct 16, 2000
- Messages
- 254
Should be a quick and easy one...I'm trying to run through several queries to output all of them into excel on different pages. I'm able to do this with tables no problem. I can run queries with the code individually now that I figured in the Parameter pre-declaration. The issue now is figuring out how to pass the string variable, "strQueryName", with the chaning query names to the querydefs statment.
PHP:
Set qdfMyQuery = dbITRepositoryLink.QueryDefs![strQueryName]
qdfMyQuery.Parameters![Forms]![DataRollUp]![UIC2FindActIds] = [Forms]![DataRollUp]![UIC2FindActIds]
Set rs = qdfMyQuery.OpenRecordset