Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pulling a value from a form for an append query

Status
Not open for further replies.

jaaret

Instructor
Jun 19, 2002
171
I'm writing an append query that appends the key id's of all clients who work for a particular company . I need to append the reciept ID for each appended record. I'm attempting to pull the receipt ID off of a loaded form:

ReceiptID: [Forms]![frmExpReps]![txtReceiptID]

The receipt ID for the record that has the focus is 270, but the query is returning the character "?". Why is it not returning 270?

Thanks in advance,
Jaaret
 
I'm not sure either, but this works, returning 270.

ReceiptID: CInt([Forms]![frmExpReps]![txtReceiptID])

Jaaret
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top