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!

Else???? 1

Status
Not open for further replies.

mikefortune

IS-IT--Management
Feb 9, 2001
20
GN
I keep trying an if then else and it keeps telling me "a number is required here" when I check it.
here is the formula:

If {OELIN.Itemkey} <> &quot;FREIGHT&quot;
and {OELIN.Qtyord} >= 1
then {OELIN.Qtyord}
else
IF {OELIN.Itemkey} = &quot;FREIGHT&quot;
then &quot;&quot;


 
I think thats because you can't refer to both a string field and numeric field within the same formula.

Every time you want to reference the {OELIN.Qtyord} field insert it as follows:

totext({OELIN.Qtyord} )

this should then work ok.

Cheers

Marc
 
You are correct sir! THanks, I found it 2 minutes after posting this. Thanks a ton, you had the right answer!!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top