I need 2 answers in control source?? Either or???

G

Guest

On my database i have totals which automatically add VAT for me but some of
my customers are tax excempt. I need Vat to be added except when i put a
number in my CIF ( name of one of my fields) field.
Does that make sense???

Also is it possilble to have a drop down box on one of my feilds with 2
choices, like either or????
 
F

fredg

On my database i have totals which automatically add VAT for me but some of
my customers are tax excempt. I need Vat to be added except when i put a
number in my CIF ( name of one of my fields) field.
Does that make sense???

Also is it possilble to have a drop down box on one of my feilds with 2
choices, like either or????

In an unbound control's Control Source:
=IIf(IsNull([CIF]),[Cost] + VAT,[Cost])

Yes it is possible have a combo box with 2 choices.
Set the Combo box RowSourceType property to Value List
Set the RowSource to:
"Choice1","Choice2"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top