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
GroupWise 6.0.1 - Some addresses are undeliverable and have been crossed out
Login Script to add multiple network printers?
How to Setup Mandatory Profiles Server 2008 R2
looking for best web designer.
XP Mode - usb software key not working
Secure Email for HIPAA compliance
I'm trying to config route and vpn in Ubuntu
Network issue.
css easy question - page items apprearing low down
How to connect treeview & listview or grid through Access database