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
Excel - Find nearest words for top ranked (text mining)
Carrier Unlock for iPhone 3GS iOS 4.0.1 (8A306)
Will there be a 13" Macbook with an iCore processor anytime soon? Safe to buy C2D?
How to open an XML file and change a value.
VLAN ACL ?
Antivirus software windows XP
Can you setup Remote Desktop Gateway and Remote Desktop Services on the same Server
Error while building Offline address Book, Event 9331
recommended UPS software which is compatible with Windows Server 2008
Use Windows Server with SBS 2003