Ladi,
This is "basically" what you'll need. Please adjust to suit....
I'd hide the Second round until First round had both values entered.
If Not IsNull(Round1No) or Not IsNull(Round1Date) Then
Round2No.Visible = True
Round2Date.Visible = True
Else
Round2No.Visible = False
Round2Date.Visible = False
End If
Both the First and Second fields can be unbound, and update bound fields
if they pass.
If Round2No = Round1No And Round2Date = Round1Date Then
[TheRealNoField] = Round2No
[TheRealDateField] = Round2Date
' message here... You Passed
Else
' message here.... You Failed
End If
hth
Al Camp
Ladi said:
Dear Arvin
What I'm trying to say is: wether we can force the user on the propriate
event to enter twice date and number for the invoice becouse this way we
make sure that he has entered the correct data. If not the app will
notify him by telling that the values of the first round and the second
round didn't match. It's not a matter of dublicates.
Sceanario A: First Round
No: 11
Date: 12/22/2005
Second Round
No: 11
Date: 12/22/2005
On scenario A, Every thing ok!
Sceanario B: First Round
No: 11
Date: 12/22/2005
Second Round
No: 12
Date: 12/22/2005
On scenario B, the program should prompt for mismatch of values beetween
first and second round! (For the same record)
Thanks a lot
Ladi