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
binding data in aspx from sql data source
Unable to renew SSL certificate (with the same key)
What does IPv6 have in store for us, will we have any trouble talking to remote sites?
connect an iPhone to Windows SBS 2003
Thumb Drive -- file transfer fails ?
Get the ip of the server running the application
disable edit , new record links
Registry key property value
lower lights
call .rdl with store procedure with parameter