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
launch MS mail merge wizard via code
before update trigger to prevent a field edit
Access Inserting report headers
Event ID 36886...New DC
Move Mailbox from Exchange 2007 SP2 to Exchange 2010
Bridge Network Connections
Creation of an SCCM Report for Computers By Model
SQL View to show the data using PIVOT
Excel / VBA: Code must check if there is any Cell in some filtered rows highligthed in RED...If so code must not run.
Windows Update fails code 80070490