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
Embedding iwebbrowser control inside ATL window.
Raid 1 Hard drive failed PowerEdge 1850
ironport encryption review
How do I modify this php script to send a confirmation?
Migration of SQL Server 2008 database to oracle
AMD vs Intel? on dell's website - which has greater VM performance?
How do I assign a default value in TextBox fields in DetailsView for Insert mode
Internet Monitoring Reporting software Sonicwall
SAP RFC returning Invalid Data Type
Unable to view PDF files in a web browser