Forums
This topic is locked
Auto populate textboxes
Posted 17 Feb 2003 16:32:21
1
has voted
17 Feb 2003 16:32:21 wendy owens posted:
I have a form that has a table that contains a textbox where the user inputs a part number. Depending on what the user enters, when the user tabs to the next textbox, I want it to go to the database and search for the number that was entered. If found, I want it to populate other textboxes with information found for that item in the database. How can I accomplish this??Thanks
Replies
Replied 21 Feb 2003 10:37:05
21 Feb 2003 10:37:05 Stuart Harland replied:
You could call a procedure from the 'onBlur' event of the part number textbox. So when the textbox looses focus it will run a piece of script to run another db query to pull out the data where the part number equals txtPartNumber.value.
Hope this helps a bit...
Stuart
********************
wheatNOTmeat
Hope this helps a bit...
Stuart
********************
wheatNOTmeat