M
Matt
I have a 3 prompts before opening my main form. These 3 prompts will
automatically update the combo boxes in the main form and requery the subform
and subdatasheet in the Main form. I then use code in the 3rd prompt module
that runs a sub procedure in the main form module. This sub procedure in the
main module reorders the columns in the subdatasheet. The problem is when I
run the sub procedure from the 3rd prompt module, the subdatasheet will open
and be hidden. Not sure why the subform becomes hidden, if I leave out the
sub call from the 3rd prompt, the subform will not be hidden and everything
works great. Why is the code opening and hiding my subform? The code does
not affect the subform when it is hidden.
automatically update the combo boxes in the main form and requery the subform
and subdatasheet in the Main form. I then use code in the 3rd prompt module
that runs a sub procedure in the main form module. This sub procedure in the
main module reorders the columns in the subdatasheet. The problem is when I
run the sub procedure from the 3rd prompt module, the subdatasheet will open
and be hidden. Not sure why the subform becomes hidden, if I leave out the
sub call from the 3rd prompt, the subform will not be hidden and everything
works great. Why is the code opening and hiding my subform? The code does
not affect the subform when it is hidden.