M
MrCC via AccessMonster.com
Dear all
each time i run the following code :
Cond = "OwnerID =" & OwnID & " and " & "ID =" & TransID
DoCmd.OpenReport stDocName, acPreview, , Cond
it returns all the table records !!!!
it should return one record only
i am so sure that OwnID , TransID has a valid value a
and so sure that report table has the field name OwnerID and ID
any tips plz
thanks
bye
each time i run the following code :
Cond = "OwnerID =" & OwnID & " and " & "ID =" & TransID
DoCmd.OpenReport stDocName, acPreview, , Cond
it returns all the table records !!!!
it should return one record only
i am so sure that OwnID , TransID has a valid value a
and so sure that report table has the field name OwnerID and ID
any tips plz
thanks
bye