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
admx template
Roaming Profiles in Windows 7 Pro and SBS 2008
Windows 7 Enterprise Backing up to a network drive
How can you search e-mail within Outlook 2010 and not use the index?
Windows can't find "msconfig"
McAfee Groupshield 7.1 - Whitelisting
Using Message Header decoration in operation contract of WCF
User Certificate Enrollement Problem
Network setup, your opinion
Run the first php script in background - When done - run the next script ...