Getting data based on field selection
Hi,
I have a form and one of the fields is an id code, and each code has it's own description within a sql database, what I am trying to acheieve is that when somebody enters a code into the form field then changes the focus to the next form field I want to trigger a stored procedure to get the description from the database relevant to the code entered and display it on the page.
Getting the information is not a problem but I am not sure how I can trigger the event based on the user selecting the next form field.
Many thanks for any help
Peter
|