copy to a text box in a report

109bow

Registered User.
Local time
Today, 11:16
Joined
Oct 24, 2007
Messages
134
I am a novice to MS Access and not familiar with VB, so is it possible to copy and paste a value in a cell in a query to a text box in a report? I have managed to create a macro that goes to the value I require in the query but haven't found a way of for a better word "pasting" it into a text box in the report. Please see attachment
Thanks in advance
 

Attachments

Last edited:
The DLookup() seems it may work, but how do I select axle position 4 from the query 09ts data by even130. I have =DLookUp([09ts data by even110-1 last turn],[serial number]=4) but this returns #Name? in the text box in the report
 
The quotes around all the arguments shown in the link are required. It also looks like you missed the field argument.
 
Paul,
Thanks for your help, found DFirst was what I needed, =DFirst(" [110-1]![axle serial] ","[110-1]") worked just fine
 
Happy to help, though without a criteria I don't see how it can be returning the correct record.
 

Users who are viewing this thread

Back
Top Bottom