C
Carole
Ok, this should be simple but i seem to be hitting a brick wall.
I have one field that is unbound that i would like to set depending on what
another bound field is equal to. So in this case if the textbox named "UN#"
equals "N/A" my textbox named "Dow" should be "Non Dow"....
The code i have so far in the detail_format of the report is this.
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
Dow = If (UN# = "N/A") Then
Dow.Value = "Non Dow"
Else
Dow.Value = "Dow"
End If
End Sub
This is obviously not working. Both fields/textboxes are in the same detail
footer not sure if that makes a difference. Could someone point me in the
right direction here, is it possible to do this, this way?
I have one field that is unbound that i would like to set depending on what
another bound field is equal to. So in this case if the textbox named "UN#"
equals "N/A" my textbox named "Dow" should be "Non Dow"....
The code i have so far in the detail_format of the report is this.
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
Dow = If (UN# = "N/A") Then
Dow.Value = "Non Dow"
Else
Dow.Value = "Dow"
End If
End Sub
This is obviously not working. Both fields/textboxes are in the same detail
footer not sure if that makes a difference. Could someone point me in the
right direction here, is it possible to do this, this way?