how do i do this. i need to enter this on a payment scrren for vouchers. i have a box for how much is being paid by voucher (Voucher), a box for voucher No.(VoucherNumber), a box for voucher amount(VoucherAmount) and last of all a box for remaining voucher amount(txtVoucherRemaining)
i tried this
If [Voucher]>0 And [VoucherNumber]=0 Then (the =0 is because the default is zero, so if they have not changed it, it will still be zero)
MessageBox
bla bla
StopAllMacros
it dosnt seem to like it. its a bit likt i could do with an And rather than 'Then'.
has anyone got any ideas for this.
thanks
i tried this
If [Voucher]>0 And [VoucherNumber]=0 Then (the =0 is because the default is zero, so if they have not changed it, it will still be zero)
MessageBox
bla bla
StopAllMacros
it dosnt seem to like it. its a bit likt i could do with an And rather than 'Then'.
has anyone got any ideas for this.
thanks