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
loop through tables using existing table to find NULL values
SSIS import from Excel giving me nulls
Problem Renaming Directories in ASP.Net (VB)
Query showing Last Results only
SQL Reporting issue
Printer sharing between Microsoft Windows 7 and MAC Snow Leopard
Unique index dependent on a column
Quick and Dirty Access 2007 Sync
[http error 400 - request is badly formed] appears randomly in .net application
Can SQL Server databases be used within stand alone desktop applications?