Microsoft
Software
Hardware
Network
Question : Open report from a double-click event on a form
I want to open a report when I double-click a record in a form which is in datasheet mode. Here is my code...
docmd.OpenReport "rptJobTicket",acViewPrevi
ew,,"[JobN
] = " & txtJobN,acWindowNormal
But it is not working correctly. The report does open but not to the record I double-click on.
Answer : Open report from a double-click event on a form
Well, every *looks* ok in your original line of code. Can you put a break point there and check the actual value in the text box?
And you might try this:
docmd.OpenReport "rptJobTicket",acViewPrevi
ew,,"[JobN
] = " & CLng(Me.txtJobN) ,acWindowNormal
Random Solutions
Need an XSD viewer
Sharepoint Services cannot access custom templates
Cannot use Microsoft Word to edit messages in Outlook 2003
set system date and time from other PC
ATL tutorial
Recurring appointment creator no longer exists - how can I change the owner?
Mount new FAT partition in DOS without reboot?
2008 TS Web Access: Expiring Password Reminder?
Dialog Box to ask questions to get new users to identify their pathway to various files being used in macro program
Excel 2007 Formula Question