mohammadagul
PrinceAtif
- Local time
- Today, 20:09
- Joined
- Mar 14, 2004
- Messages
- 298
in my OnCurrent of Invoice form i am trying to put the following Code
If Me.Invoice.Value = True Then
Me.InvoiceNumber.Visible = False
Me.ManualInvoiceNo.Visible = True
Else
If Me.Invoice.Value = False Then
Me.InvoiceNumber.Visible = True
Me.ManualInvoiceNo.Visible = False
End If
End If
End
If Me.InvoiceBalance.Value > 0 Then
Me.FullyPaid.Value = False
Else
If Me.InvoiceBalance.Value = 0 Then
Me.FullyPaid.Value = True
End If
End If
End
the problemd is that when the form is run the current event only fulfills the first code and not the second one. i tried changing the order i.e placed the second code first, even then it is only accessing the first code. how can i make both work together.
If Me.Invoice.Value = True Then
Me.InvoiceNumber.Visible = False
Me.ManualInvoiceNo.Visible = True
Else
If Me.Invoice.Value = False Then
Me.InvoiceNumber.Visible = True
Me.ManualInvoiceNo.Visible = False
End If
End If
End
If Me.InvoiceBalance.Value > 0 Then
Me.FullyPaid.Value = False
Else
If Me.InvoiceBalance.Value = 0 Then
Me.FullyPaid.Value = True
End If
End If
End
the problemd is that when the form is run the current event only fulfills the first code and not the second one. i tried changing the order i.e placed the second code first, even then it is only accessing the first code. how can i make both work together.