Bob Scarborough
BBQ
- Local time
- Today, 19:30
- Joined
- Mar 2, 2003
- Messages
- 25
G'day,
I have a form with a number of subforms. One is the Product subform which calls a ProductDescriptionSubform (PDSF) that searches a table which has over 30,000 product line items in it. The PDSF provides a means of searching by txt strings in the database.
What I am trying to do is to populate data in the first search string field automatically when I open the PDSF form. i.e. "Tap" moves to the first line in the PDSF. The good news it that I can get this to work on 1st form open of PDSF. However if I close the PDSF form and reopen at another point in the Order Form it still retains the old field contents (i.e. "Tap"). The only way to get around the problem seems to be to close down the whole form (i.e. page) and reenter same. It always works on the first iteration but not subsequent.
I am sure I have overlooked something but haven't been able to crack same. Any ideas??
I have a form with a number of subforms. One is the Product subform which calls a ProductDescriptionSubform (PDSF) that searches a table which has over 30,000 product line items in it. The PDSF provides a means of searching by txt strings in the database.
What I am trying to do is to populate data in the first search string field automatically when I open the PDSF form. i.e. "Tap" moves to the first line in the PDSF. The good news it that I can get this to work on 1st form open of PDSF. However if I close the PDSF form and reopen at another point in the Order Form it still retains the old field contents (i.e. "Tap"). The only way to get around the problem seems to be to close down the whole form (i.e. page) and reenter same. It always works on the first iteration but not subsequent.
I am sure I have overlooked something but haven't been able to crack same. Any ideas??