I have a 'mainform' generating a number in a textbox [PONumber] based off a date and [OrderID]
=Format([OrderDate],"mmddyy") & Format([OrderID],"00") (Thanks Pbaldy)
I have created another form 'searchform'
It has a textbox to enter the PONumber I would like to search for on the 'mainform'.
The goal is to be able to enter the number and hit search and it will pull up the record for that form but whenever I try it, it always seems to bring up a new record.
I was thinking of trying to the save the result from the query into my table and search for it that way but I have read numerous times that some data should never be saved in a table and left up to a query to find it.
=Format([OrderDate],"mmddyy") & Format([OrderID],"00") (Thanks Pbaldy)
I have created another form 'searchform'
It has a textbox to enter the PONumber I would like to search for on the 'mainform'.
The goal is to be able to enter the number and hit search and it will pull up the record for that form but whenever I try it, it always seems to bring up a new record.
I was thinking of trying to the save the result from the query into my table and search for it that way but I have read numerous times that some data should never be saved in a table and left up to a query to find it.
Attachments
Last edited:


