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
sql2000 changing float field to repeating decimal
Unable to connect to SQL Server 05 Express
Checking service status with .bat file
ASP.NET AJAX autocomplete textbox for suggestion
Getting return value from an embedded Internet explorer
Designing schema table for database.
Unable to Install Visual Web Developer 2008 Express Edition
How can i get currently logged on user detail in .net c# winapp ?
How to fix my dcdiag errors?
embed blank word doc in access file