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

Question about adress objects in a series 1

Status
Not open for further replies.

gourla

Programmer
Sep 5, 2007
4
NL
Hi all,

I try to address a object in a series with a variable (type number) used as an index.
Mercator send me an error "single-general-true-exp expected" when trying to validate the rule
Ex. :
ParseNewRecord[index Datatype:price_temp]:prices_reduced

It works when using a literal as follow :
ParseNewRecord[151]:prices_reduced

=> Can we use a variable as an index ?

Thanks

Regards
Laurent Gourvennec
 
Help says

The index between the square brackets can be an integer or the reserved word, LAST (a special index value that refers to the last data object of a particular series). The index cannot be another object name

Copyright © 2003 by Mercator Software, Inc.
 
ok
thanks for your answer

Regards
Laurent Gourvennec
 
ok
i try this.
thanks for your answer

Best regards
Laurent Gourvennec
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top