Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

create another table field from existing ones

Status
Not open for further replies.

smurf01

IS-IT--Management
Jul 6, 2002
470
GB
Is it possible to create data in another table field from data in other table fields i.e.


FieldC
If([fieldA]= "YES",1,0)

I've probably not explained myself too well but any help would be appreciated

Regards

Paul
 
Select ..., IIF([FieldA]="YES",1,0) As [FieldC], ...
 
Golom, this may seem like a stupid question but where would i put this code

Regards

Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top