i would like to write a query that will return a value when a user inputs criteria. for example if a user name is entered i would like it to return an ID #. I am having troubles doing this using the iif function. does anyone have any ideas on how i can get started.
this is what i have tried
iff ((text = [id]) text = [name], (([name]) [ID]), Invalid entry.
thank you for taking the time to help me out.
this is what i have tried
iff ((text = [id]) text = [name], (([name]) [ID]), Invalid entry.
thank you for taking the time to help me out.