t1hodges
MIS
- May 8, 2003
- 54
Can anyone tell me how to use a Public variable declared within a VBA module as a criteria within an MS Access query
Thanks
Thanks
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Do Until rstTmp.EOF
For Each fldTmp In rstTmp.Fields
value1 = CStr(fldTmp.value)
DoCmd.OpenReport "rpt_Payments_Cpty", acNormal 'this report's source is a select query that is using the Public Function QryFilter1() as a field criteria
[COLOR=blue][b]rstTmp.MoveNext
Next fldTmp[/b][/color]
Loop