![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I want to find a way to determine if the rows selected in an unbound simple multiselect listbox has been changed by the user. There are ten options in the listbox. Selecting rows changes the entries in a table using DELETE and INSERT sql statements. I want to be able to check if the user has made any changes and ask them to confirm the changes before applying the DELETE and INSERT statements. Many thanks, Franc. Use the Form_Current event to store the listbox.ItemsSelected status to |
#3
| |||
| |||
|
|
franc sutherland <franc.sutherl... (AT) googlemail (DOT) com> wrote innews:d3b3701d-6d1a-4e04-9fe5-1664d07a2012 (AT) u17g2000yqe (DOT) googlegroups.com: Hi, I want to find a way to determine if the rows selected in an unbound simple multiselect listbox has been changed by the user. There are ten options in the listbox. Selecting rows changes the entries in a table using DELETE and INSERT sql statements. I want to be able to check if the user has made any changes and ask them to confirm the changes before applying the DELETE and INSERT statements. Many thanks, Franc. Use the Form_Current event to store the listbox.ItemsSelected status to an array and then compare the array to the listbox in the code that generates the delete and insert statements -- Bob Q. PA is y I've altered my address. |
![]() |
| Thread Tools | |
| Display Modes | |
| |