G
Guest
On an afterUpdate event on a form control, the user has selected which
appointment information they wish to view. THe form is unbound and I
programmatically load the form from the selection made.
I have the following code initiating this sub:
mparts_frmSurgProc.brSave
Set mctrls_frmSurgProc = Nothing
Set mparts_frmSurgProc = Nothing
mparts_frmSurgProc and mctrls_frmSurgProc are collections. As the user
clicks different appointments, his edits are saved and the collections set to
nothing prior to loading the new appointment info from his selection. This is
a problem if the user just opened the form and this is the first selection
(nothing to save). How do I
determine if mparts_frmSurgProc is empty so I can skip the first line when
needed?
Thanks
(This is another developer's code, hence I don't know that much about
collections and the handling thereof)
appointment information they wish to view. THe form is unbound and I
programmatically load the form from the selection made.
I have the following code initiating this sub:
mparts_frmSurgProc.brSave
Set mctrls_frmSurgProc = Nothing
Set mparts_frmSurgProc = Nothing
mparts_frmSurgProc and mctrls_frmSurgProc are collections. As the user
clicks different appointments, his edits are saved and the collections set to
nothing prior to loading the new appointment info from his selection. This is
a problem if the user just opened the form and this is the first selection
(nothing to save). How do I
determine if mparts_frmSurgProc is empty so I can skip the first line when
needed?
Thanks
(This is another developer's code, hence I don't know that much about
collections and the handling thereof)