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
EMC Not working for Ex2010 RC on 2008R2 Server, WinRM error
Setting up our Maintenance Plan on our new SQL 2008
One mailbox not receiving e-mail on exchange server 2003
SQL to calculate sales per representative and per week
Record(s) can't be read; no read permission on 'x.mdb'
Access 2003 Hyperlink warning
web application design
Control Panel Icons - Windows XP
TSQL CASE and the WHERE CLAUSE
IIS Windows Server 2008 Application Pools