tyedyejenn
Programmer
I am writing a program in VB6 and want to run a report from Access 97 to select certain records. I have the following line of code to run the report<br><br>Accapp.DoCmd.OpenReport "LogIn Report", acViewNormal<br><br>I just don't know how to add a sql type statement to select the user name of person logging in(this infor is stored in strName)<br><br>If anyone can help me with this I would greatly appreciate it. Thanks in advance for the help.<br>Jenn