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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with a function

Status
Not open for further replies.

serino

Programmer
Feb 13, 2003
112
US
Hi,

I am having problems with the function below.

This part works fine.

Alias: IIf([T (107) Left4Digit of JobNum]![Left4]=[T (090) SubDivisionNum]![SubDivPrefix]),[T (107) Left4Digit of JobNum]![Left4), if false (they do not equal) I would like to continue with this

(IIf([T (107) Left4Digit of JobNum]![Left4]=[T (090) SubDivisionNum]![Alias1] Or [Alias2],304)))
 
Perhaps something like this ?
IIf([T (107) Left4Digit of JobNum]![Left4]=[T (090) SubDivisionNum]![SubDivPrefix],[T (107) Left4Digit of JobNum]![Left4]
,IIf([T (107) Left4Digit of JobNum]![Left4]=[T (090) SubDivisionNum]![Alias1] Or [T (107) Left4Digit of JobNum]![Left4]=[T (090) SubDivisionNum]![Alias2],304,0))

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Thank You PHV, That worked out just fine..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top