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
C# 2005 how to Change the Target .NET Framework Version of an Existing Project
a program is attempting to send the following email message on your behalf - Windows Live mail
Group Policy settings for BitLocker startup options are in conflict
Web Interface 5.3 PNAgent Site - Citrix Online Plug-in could not contact the server entered.
Remote connectivity to Microsoft OCS 2007 R2 Fails
[BlazeDS]Unknown AMF type '17'. flex.messaging.io.UnknownT
ypeExcepti
on: Unknown AMF type '17'.
Trim() in JavaScript using Regular Expression
ASA 5505 DMZ won't Access Internet
Autoplay Synctoy when USB harddrive plugged in
FAXCOOLWAREZ037 192.168.1.38 00-1A-73-C3-39-8A