Hi all,
I have an Access application that includes the following VBA code to open a report containing just the current record. What I would like to know is how to do this same thing in VB.
stLinkCriteria = "[Lab Number]=" & Me![Lab Number]
DoCmd.OpenForm stDocName, , , stLinkCriteria
Access runs horribly slow on our system and this is a simple application that I believe will run much more efficiently in VB, but being able to open reports with just the current record is very important to the usability of the program.
I've already been rudely chased out of the VBA forum with this question, so any constructive ideas will be greatly appreciated.
Kathy
I have an Access application that includes the following VBA code to open a report containing just the current record. What I would like to know is how to do this same thing in VB.
stLinkCriteria = "[Lab Number]=" & Me![Lab Number]
DoCmd.OpenForm stDocName, , , stLinkCriteria
Access runs horribly slow on our system and this is a simple application that I believe will run much more efficiently in VB, but being able to open reports with just the current record is very important to the usability of the program.
I've already been rudely chased out of the VBA forum with this question, so any constructive ideas will be greatly appreciated.
Kathy