Control to populate data based on code

N

Newbie_Sashi

Hi,
I have created a form linked to the table - Master table.
The form contains a control - Validation.
I had given an event to this conttol -
Private Sub Validation_Click()
If [Report Currency] = USD Then
Validation = YES
End If
However, I am not getting any results in the form nor is the result being
carried to the table.
Pls help
 
K

Klatuu

In this line:
If [Report Currency] = USD Then

It is expecting [Report Currency] to be a control on your form and USD to be
a variable. Is that what you are expecting?
 
Top