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
SSRS - configure https for Report Manager built-in links to Home | My Subscriptions | Site Settings | Help
GPO Software Installation Based Upon Hardware
a tool to Trace route a packet over SMTP
SideBySide Error in Server 2008 R2
Redundant .msi files created by Windows Installer.
What Should the Title Be
Why can't I sort by Task Subject?
Wyse FTP Config
Exchange 2010 CAS and certificates
ASP.NET Membership minRequiredNonalphanumeric
Characters
Problem