hi...
i have a form with a listbox. when i click on a listbox item, the form will display the record connected to that list box item.
however, to add a new record, i click on an Add button which sets the AllowAdditions property to True which brings me to a new record. When i'm done filling in details, i click Done, to turn off AllowAdditions and go to the new record. However, when the new record is displayed, the last item selected is still highlighted, how do i get the listbox to select the new record?
i've been playing around with the listbox properties like .Selected but it keeps giving me errors.
on a side note, i used microsoft's method of disabling the mouse scroll function. after implementing it however, whenever i make changes to the code of the form that i placed the disable mouse code, when i save and reopen the form, Access hangs. so i hv to use task manager to shut it down and reopen a gain. pretty irritating. has anyone else experienced this?
i have a form with a listbox. when i click on a listbox item, the form will display the record connected to that list box item.
however, to add a new record, i click on an Add button which sets the AllowAdditions property to True which brings me to a new record. When i'm done filling in details, i click Done, to turn off AllowAdditions and go to the new record. However, when the new record is displayed, the last item selected is still highlighted, how do i get the listbox to select the new record?
i've been playing around with the listbox properties like .Selected but it keeps giving me errors.
on a side note, i used microsoft's method of disabling the mouse scroll function. after implementing it however, whenever i make changes to the code of the form that i placed the disable mouse code, when i save and reopen the form, Access hangs. so i hv to use task manager to shut it down and reopen a gain. pretty irritating. has anyone else experienced this?