Disable "X" in the Dialog Box
i tried boarderless and it did not take away or enable the minimize, maximize and close buttons on the upper-right hand corner of my dialog box. Also, the record is still saving when i use the unloadmode=vbformcontrolmenu even though it is cancelling the form; any ideas how do i disable the "x"; any more ideas; please!!! i even put code in after cancel=true to not update the database to no avail.
thanks for all help and i already learned something new; cool!!!
Disable "X" in the Dialog Box
okay spoke to soon i put
if unloadmode=vbformcontrolmenu
then
data2.recordset.edit
data2.recordset.cancelupdate
cancel=true
end
endif
and it cranks it cancels quits the program and does not update the record and using just the cancel command will bring me back to the form -- thanks big time -- your a genius!!!!!
It's the little things in life that make the big things easier!!!!