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
ACT Sage, reattach a database that has already been re-created possible?
Resolve User Name Display Issue and Change Admin PWD in Windows Server 2003
Visual studio Team System
Anyone run an online backup software along side Ghost with no conflicts.
Read data from registry key not working
Network adapter not wanting to install LAN drivers
Slowing down a moving clip that follows the mouse cursor
How to write the query that the table shows the results the way i want in mysql
Jython Script - Update WebSphere JVM System Properties (jvm custom properties)
Error message when replying, sending, openning email in OWA