Microsoft
Software
Hardware
Network
Question : New record, if field is empty, msgbox
Experts,
If I am on a form and the record is new and txtType is blank and someone trys to close form, I need a msgbox that says "Enter Type" and then cancels the close of the form.
Thank you.
Answer : New record, if field is empty, msgbox
do this in the beforeupdate evnt of the form
private sub form_BeforeUpdate(cancel as integer)
if len(me.txtType & "")=0 then
msgbox "Enter Type"
me.txtType.setfocus
cancel=true
exit sub
end if
end sub
Random Solutions
Ethernet Network Connection Disables itself After Reboot (BOOTCAMP)
Does Crystal Reports 11.5 run on Windows 7 64 bit
XP install without access to CD drive
Install IIS with a vbs script.If supporting files needed pick from a predefined path.
Computer reboots severat times a day
Which Exchange Cert for iPhones
Solaris UNIX 'PS' switch help
How do I use a volume license key on a HP computer with restore CD
Two SCCM primary site in active directory
circular logging for Exchange 2003 backend servers