J
Jaybird
I can't seem to locate the earlier answers to this sort of question...
I've got a table that is to be exported as a .dbf file. It is for invoicing
information. It has a number of specific requirements in order to be
uploaded into the corporate system. One is that for credit memos, the value
for [CRMEM] must be 0, and for regular invoices, the value for [CRMEM] must
be 1. I've gotten this to work just fine with this code:
If Me.txtTtlChrgs < 0 Then
Forms.frmInvoice.sbfHDRPLAT.Form.CRMEM = 0
End If
If Me.txtTtlChrgs > 0 Then
Forms.frmInvoice.sbfHDRPLAT.Form.CRMEM = 1
End If
The problem is that the checkbox on my form shows check marks for regular
invoices and is blank for credit memos. I would like the exact opposite to
occur. I can, of course, rename my label to indicate which is which but I
was trying to tell Access what to do in case of a credit memo (mark the box
as checked/ leave black if regular invoice). I discovered that I don't know
how to do this. Can anybody help?
I've got a table that is to be exported as a .dbf file. It is for invoicing
information. It has a number of specific requirements in order to be
uploaded into the corporate system. One is that for credit memos, the value
for [CRMEM] must be 0, and for regular invoices, the value for [CRMEM] must
be 1. I've gotten this to work just fine with this code:
If Me.txtTtlChrgs < 0 Then
Forms.frmInvoice.sbfHDRPLAT.Form.CRMEM = 0
End If
If Me.txtTtlChrgs > 0 Then
Forms.frmInvoice.sbfHDRPLAT.Form.CRMEM = 1
End If
The problem is that the checkbox on my form shows check marks for regular
invoices and is blank for credit memos. I would like the exact opposite to
occur. I can, of course, rename my label to indicate which is which but I
was trying to tell Access what to do in case of a credit memo (mark the box
as checked/ leave black if regular invoice). I discovered that I don't know
how to do this. Can anybody help?