PC Review


Reply
Thread Tools Rate Thread

Allow enty of data outside validation rule without removing rule

 
 
=?Utf-8?B?dGFzaA==?=
Guest
Posts: n/a
 
      7th Nov 2007
I am entering biochemistry data which has a normal range. I want to use the
validation rule to alert me when data is outside the normal range, so that QC
can be performed automatically on the data entered. However, I want to be
able to enter data outside of the normal range on second entry if this is the
true value. Can this be done using the field validation rule or not?
--
tash
 
Reply With Quote
 
 
 
 
Pieter Wijnen
Guest
Posts: n/a
 
      7th Nov 2007
Wouldn't think so.
You could display a warning in the control's afterupdate event in the form
though

Private Sub Text0_AfterUpdate()
If Access.Nz(Me.Text0.Value,0) > 100 Then
MsgBox "Please check validity of
value",VBA.vbMsgBoxStyle.vbWarning,"Text0"
End If
End Sub

Pieter


"tash" <(E-Mail Removed)> wrote in message
news:5683C158-4EB4-451E-9F3D-(E-Mail Removed)...
>I am entering biochemistry data which has a normal range. I want to use the
> validation rule to alert me when data is outside the normal range, so that
> QC
> can be performed automatically on the data entered. However, I want to be
> able to enter data outside of the normal range on second entry if this is
> the
> true value. Can this be done using the field validation rule or not?
> --
> tash



 
Reply With Quote
 
John W. Vinson
Guest
Posts: n/a
 
      7th Nov 2007
On Tue, 6 Nov 2007 22:14:01 -0800, tash <(E-Mail Removed)>
wrote:

>Can this be done using the field validation rule or not?


No. Either a field matches the validation rule or it does not; if it does not,
then the value cannot be entered.

Use the BeforeUpdate event on a Form as suggested.

John W. Vinson [MVP]
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
data validation rule Amin Microsoft Excel Misc 4 10th Nov 2008 12:26 PM
Validation Rule using data between two different tables Melissa Microsoft Access 4 19th Sep 2008 07:53 PM
More efficient code for If Else data validation rule? kheisler6@cox.net Microsoft Access Form Coding 14 18th Apr 2007 02:47 AM
duplicate data and validation rule =?Utf-8?B?UmFuY2ggSGFuZA==?= Microsoft Access Form Coding 0 26th Jan 2006 04:13 AM
help with data validation or rule DumUSER Microsoft Access 1 29th Jul 2004 01:34 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:05 AM.