Hi, I hope someone can help me please.
On a filing database, I'm trying to set up a search text box on a form, which will show the one record it relates to on the same form.
To simplify, I have a table called INVOICES. Fields are BoxNo, InvFrom and InvTo. I've created a (think it's parameter) query using the 'Between' method in the Criteria and it prompts me for "Invoice No." On entering this, it will display the record with the BoxNo that contains the invoice. Great, so far so good...
But, what I'd like to do instead of running the query separately, is to have 4 text boxes on my main form. One as an input (search) box for the invoice number, which, when typed in will instantly show the query results in the other 3 text boxes (representing the fields) below it. It would also be good to have a command button next to my search field to 'clear' the boxes for another search.
If all this is possible, I would repeat this process for other tables, using my main form as a search-and-results screen (so I therefore wouldn't want to base this main form on any one query, or table).
Is it possible ?
Thanks and regards,
Mark.
On a filing database, I'm trying to set up a search text box on a form, which will show the one record it relates to on the same form.
To simplify, I have a table called INVOICES. Fields are BoxNo, InvFrom and InvTo. I've created a (think it's parameter) query using the 'Between' method in the Criteria and it prompts me for "Invoice No." On entering this, it will display the record with the BoxNo that contains the invoice. Great, so far so good...
But, what I'd like to do instead of running the query separately, is to have 4 text boxes on my main form. One as an input (search) box for the invoice number, which, when typed in will instantly show the query results in the other 3 text boxes (representing the fields) below it. It would also be good to have a command button next to my search field to 'clear' the boxes for another search.
If all this is possible, I would repeat this process for other tables, using my main form as a search-and-results screen (so I therefore wouldn't want to base this main form on any one query, or table).
Is it possible ?
Thanks and regards,
Mark.