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
FrontPage 2003 WEBDav question
how to run a batch file from an asp.net 2.0 web page?
How to open outlook .ost file
How to import Excel worksheet to DataGridView keeping cell colors
Excel 207 question - formula
FileSystemWatcher VB.Net How to check if File is opened by application
sql updating a table
Excel and UTF8
How to Restart the IIS in Local System in Windows XP
Excel vba: post 24 based on prev EE post - Excel Color Palette - Scheme/Index revisited - for Sean and WarCrimes