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
Send Mail via Google Apps
Network Range of IPs and what is available.
MS SQL count total time.
Remove header from array created using Get-QADComputer cmdlet?
100% CPU usage in vCenter but not in taskmanager on the Windows NT 4.0 VM that has been converted
asp - The resource could not be found
ASP.NET: "Invalid object name" in GridView SqlDataSource
Problems installing the AjaxControlTooKit.dll
nslookup issue
install problems with Framework .net 3.5 in Windows Server 2008 SP2 x86