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

Lookup.ini adding fields together

Status
Not open for further replies.

M8KWR

Programmer
Aug 18, 2004
864
GB
Hi there,

I have got a field UQUOTE03, when edit i want UQUOTE01=UQUOTE03*9 and the UQUOTE02 = UQUOTE03*12

I have not edited the lookup.ini before i had put the following but nothing seemed to work

[AutoUpdate]
UQUOTE03=QUOTE01,UQUOTE02

[QUOTE01]
OTHERWISE=UQUOTE03*9
OVERWRITE=1

[UQUOTE02]
OTHERWISE=UQUOTE03*12
OVERWRITE=1

Any help would be appreciated, and thanks in advance
 
try:

[AutoUpdate]
UQUOTE03=UQUOTE01,UQUOTE02

[UQUOTE01]
OTHERWISE=&(contact2->UQUOTE03 * 9)
OVERWRITE=1

[UQUOTE02]
OTHERWISE=&(contact2->UQUOTE03 * 12)
OVERWRITE=1

Doug Castell
Castell Computers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top