| | |
Error handling
Please support our MS Access and FileMaker Pro advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Feb 2008
Posts: 198
Reputation:
Solved Threads: 0
On not filling a text box of a field that is madatory in the database i want to throw a error message to user and set the focus to that particular Text box
Please help me in setting focus to that particulat text box.
Regards
Jagadeep Reddy
Please help me in setting focus to that particulat text box.
Private Sub Form_Error(DataErr As Integer, Response As Integer)
Select Case DataErr
Case 3314
MsgBox "A required field is blank.", vbCritical
Response = acDataErrContinue
End Select
End SubRegards
Jagadeep Reddy
Last edited by peter_budo; Nov 18th, 2008 at 6:59 pm. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
Hi,
If you are using access you have to include the code in the before_update event of the text box.
If you are using access you have to include the code in the before_update event of the text box.
It is never about the number of languages you know, you either have the logic of programming or you don't ...
Some of the codes I post are collected from different sites during the past couple of years, so I would like to thank them for their help and for enabling me to help.
Some of the codes I post are collected from different sites during the past couple of years, so I would like to thank them for their help and for enabling me to help.
![]() |
Similar Threads
- how to make error handling (VB.NET)
- Error handling (PHP)
- Error Handling in CFSCRIPT (ColdFusion)
- Handling errors in php! ??? (PHP)
- Compilation Error Handles cmdLogin.ServerClick (ASP.NET)
- Another mysql_num_rows(): error (PHP)
- Keyboard Error Handling (C++)
Other Threads in the MS Access and FileMaker Pro Forum
- Previous Thread: unordered TAB movement in Front end
- Next Thread: sort fields in queries
| Thread Tools | Search this Thread |





