ValidationRule bug?

  • Thread starter Vladimír Cvajniga
  • Start date
V

Vladimír Cvajniga

Question #1:
Due to internal rules I'm not allowed to set ValidationRule on database
level. On form level how do I tell Access not to leave a record if some
fields don't meet validation criteria? ValidationRule doesn't work as
expected and in some cases it is possible to leave a record even if
validation criteria don't match!!!

Question #2:
Is there any function in A2002 to check validation rules field by field,
record by record (on form's RecordsetClone level)? We had that function in
my beloved PC FAND...

TIA

Vlado

P.S. This is the second post. The first one didn't appear in the newsgroup
even after 30 minutes... :-/
 
A

aaron.kempf

Vlad

Microsoft censors posts; I woudn't worry about it

you should be using groups.google.com
 
V

Vladimír Cvajniga

Thx for the information, Ken.
————————————————————————————
This was Rick's respond to my post:
Do all such testing in the BeforeUpdate event of the form and set the Cancel
argument of that event to True when anything fails your tests.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
————————————————————————————

Thx for the information, Rick. IMO, it's quite a lot of coding. But I'll
have to do it anyway. :-(

Just an idea for next versions of Access: could that be done easier? Ie.
Form.MustMatchAllValidationCriteria property (True/False)... as we had in PC
FAND... ;-)

Vlado
 
A

aaron.kempf

what is PC Fand?



Thx for the information, Ken.
————————————————————————————
This was Rick's respond to my post:
Do all such testing in the BeforeUpdate event of the form and set the Cancel
argument of that event to True when anything fails your tests.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
————————————————————————————

Thx for the information, Rick. IMO, it's quite a lot of coding. But I'll
have to do it anyway. :-(

Just an idea for next versions of Access: could that be done easier? Ie.
Form.MustMatchAllValidationCriteria property (True/False)... as we had inPC
FAND... ;-)

Vlado

"Ken Sheridan" <[email protected]> píše v diskusním
příspěvku






- Show quoted text -
 

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

Top