A
andrea
I am usually quite competent working with Access and the basic programming of
it. But, for some reason, I can't get it to produce the result I want.
Currently I have:
=Iif([Data Costs]=1,"Data Service","Phone Service")
where Data Costs is a Yes/No data type (looks like a checkbox in my table).
The problem is that when I run this, I get "#Error"
I have tried in place of 1 the following options: Yes, No, True, False, 0,
1, -1, On, Off... I have tried all of these with quotes and without quotes
around them. Finally, I have tried =Iif([Data Costs],"Data Service","Phone
Service") which only produced the result of "Data Service" whether or not the
box was checked.
I'm pretty frustrated... someone please help! I greatly appreciate it.
it. But, for some reason, I can't get it to produce the result I want.
Currently I have:
=Iif([Data Costs]=1,"Data Service","Phone Service")
where Data Costs is a Yes/No data type (looks like a checkbox in my table).
The problem is that when I run this, I get "#Error"
I have tried in place of 1 the following options: Yes, No, True, False, 0,
1, -1, On, Off... I have tried all of these with quotes and without quotes
around them. Finally, I have tried =Iif([Data Costs],"Data Service","Phone
Service") which only produced the result of "Data Service" whether or not the
box was checked.
I'm pretty frustrated... someone please help! I greatly appreciate it.