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
Outlook 2007 Continually asks for an Exchange Server password
how to hide/ view columns in a gridview using checkboxes in CustomEditorpart in sharepoint
CRON JOB - using cpanel for direct_mail extension for typo3
breadcrumb trail in a dropdown box
asp.net: How to determine if a when a user login. is an Admin Account, * the menu is selected to show admin pages & reports.
Looking for XP drivers for Compaq Presario C700
Download manager Flashget V3.3 disabled IE & Firefox browsers from browsing Internet
what is most cost effective way to backup windows 2008 sbs
Oracle packages
Arcserve error: E8535 Failed to receive data from the agent