robert_anisoiu
Registered User.
- Local time
- Today, 19:00
- Joined
- Oct 27, 2010
- Messages
- 10
Hello,
I have two comboboxes. After the selection is made in each combobox, I input an ordering number in a textbox. The number must start with 1 for each new value of the pair combobox1.value+combobox2.value.
When the user want to add a new record, I want to put in a textbox the last number thas has been input for the pair combobox1.value+combobox2.value.
The SELECT SQL will be "SELECT MAX(ordering_number) from table_name WHERE condition".
My problem is that I don't know how to take the value returned by the SELECT SQL command and to put it into the textbox value.
Any help will be welcome,
Thanks
I have two comboboxes. After the selection is made in each combobox, I input an ordering number in a textbox. The number must start with 1 for each new value of the pair combobox1.value+combobox2.value.
When the user want to add a new record, I want to put in a textbox the last number thas has been input for the pair combobox1.value+combobox2.value.
The SELECT SQL will be "SELECT MAX(ordering_number) from table_name WHERE condition".
My problem is that I don't know how to take the value returned by the SELECT SQL command and to put it into the textbox value.
Any help will be welcome,
Thanks