Hi Brendan,
Your code looks to be okay. Maybe you just need to change the last
line from : -
Cpt = Cu_p (COL1)
to
Cpt = Cu_p.COL1
David
> -----Original Message-----
> From: Brendan.O'[EMAIL PROTECTED]
> [SMTP:Brendan.O'[EMAIL PROTECTED]
> Sent: Monday, July 14, 2003 9:31 AM
> To: [EMAIL PROTECTED]
> Subject: MI-L Assign record to variable
>
> Greetings experts
>
> I am processing a relatively large data set with formulae containing some
> variables. These variables are stored in another table. I wish to
> iteratively re-apply the process having altered the variables in the
> smaller variable table. I hoped I might be able to write a workspace so
> that I could just re-run the workspace having changed values in the
> smaller
> table. Within a workspace is it possible to assign to a variable, a value
> from a table, such as I have tried (without success) in the commands shown
> below
>
>
> Dim Cpt as Float
> Select Cu_point from Soils_decision_point where rowid = 1 into Cu_p
> Browse * From Cu_p
> Cpt = Cu_p (COL1)
>
> Thanks and Regards Brendan O'Donovan
>
>
>
> ---------------------------------------------------------------------
> List hosting provided by Directions Magazine | www.directionsmag.com |
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> Message number: 7615
---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 7618