I have a Listbox control which gets the data thru Query.
there are some other Attribute fields/labels on the form. i have to show/hide attribute fields & labels according to the no. of data entries in ListBox control.
e.g (if there are 3 items in Listbox, i have to show 3 attributes).
i write the code on Form's Current Event which get's the value from Listbox and show/hide the attribute fields properly. but the Problem is when this code assigns the labels/data in these attribute fields, the record has been changed. and when i move to next/previous record without updating any record, the Form's BeforeUpdate Event has been called on which i write the code for asking the user "Do u want to save Changes?". so this box appears everytime even if the user has not changed the record.