Wayne unless I miss something here
<@VAR NAME=@@user$affiliate[1,2] SCOPE=domain>
should be
<@VAR NAME=affiliate[1,2] SCOPE=user>
or
@@user$affiliate[1,2]
or
<@VAR NAME=user$affiliate[1,2] >
also
<@ASSIGN NAME=VarName VALUE=@@local$resultset SCOPE=domain>
can be
<@ASSIGN NAME=domain$VarName VALUE=@@resultset > (if you really want
to assign it to domain scope)
and the affiliate variable should be
<@ASSIGN NAME=user$affiliate VALUE=@@resultset >
not
<@ASSIGN NAME=@@user$affiliate VALUE=@@local$resultset SCOPE=domain>
this takes an array in the user scope called affiliate and assigns to
it the resultset and puts it in the domain scope sort of. I think
actually trying to do this should result in an error since it is not
really proper syntax for the assign name.
make sense.
--
Dan Stein
FileMaker 7 Certified Developer
Digital Software Solutions
799 Evergreen Circle
Telford PA 18969
Land: 215-799-0192
Cell: 610-256-2843
FMP, WiTango, EDI,SQL 2000, MySQL, PHP
[EMAIL PROTECTED]
www.dss-db.com
"I destroy my enemies when I make them my friends."
Abraham Lincoln
On Mar 13, 2008, at 2:26 AM, Wayne Irvine wrote:
I am looking to assing an array to a var. Easy enough:
<@ASSIGN NAME=VarName VALUE=@@local$resultset SCOPE=domain>
Trouble is, the VarName is also a variable:
<@ASSIGN NAME=@@user$affiliate VALUE=@@local$resultset SCOPE=domain>
This seems to work and calls @@user$affiliate show the array.
But if I want to access one element of the array:
<@VAR NAME=VarName[1,2] SCOPE=domain> Works
But
<@VAR NAME=@@user$affiliate[1,2] SCOPE=domain> Doesn't.
Where am I going wrong?
Wayne Irvine
Byte Services Pty Ltd
http://www.byteserve.com.au/
[EMAIL PROTECTED]
Ph 02 9960 6099 Mob 0409 960 609 Fax 02 9960 6088
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf