Validation rule question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

I have two questions on validation.First, is it possible to create a
validation on a amount field for a form that has already been created or
should i create it within the respective table?Reason:the database has been
in use for two weeks and i dont want a meltdown if i place a validation on
this field.
Second, the field is a dollar amt field and i would like that the user could
not enter an amount greater than 10,000 and when trying to do so , it would
open another form made for this amount so the 10,000 can be entered into
it.Is that possible?
Thanks
 
A Validation Rule can be done more than one way. It can be done by placing
it in the table setup or by checking the value in code on the form before
saving the entry.

For what you're trying to do, the second way sounds better. In the control's
BeforeUpdate property you would check the value of the control and react
accordingly. You could pop-up a message box, cancel the update, open another
form, or just let it be if the value is ok.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Forms question 3
Set validation rule for many fields with vba? 7
validation rule 1
Validation Rule 2
Validation Rule assistance 0
Validation Rule in Access 2007 3
Validate a Date 1
Validation Rule/Text 1

Back
Top