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
Check colum A for names in the name matches a sheet name in any workbook then copy to the sheet where we are quering from.
Secondary namespace in WSDL
How to allow/disallow with robots.txt a specific directory
Unable to Search Empty Folders
Apple Mail - Find local Exchange email after changing accounts?
ShellExecute while remaining in process
Setup a wenpage in Windows Server 2008
Deploy RemoteApp MSI using GPO
Toshiba Satellite randomly shuts off and won't turn on
oracle forms record group question