Larry

 

  Try this I'm assuming vRowID is integer

 

  SET VAR vRunSel = ('RUN SELECT USING' & .tFileName & 'ConvertProgram
IN TableName WHERE RowID =' & (CTXT(.vRowID)))

 

  &vRunSel

 

Buddy

 

From: [email protected] [mailto:[email protected]] On Behalf Of Lawrence
Lustig
Sent: Friday, December 04, 2009 5:31 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - RUN SELECT with parameter

 

I have some code in a VARCHAR column.  I can get it to run fine with RUN
SELECT.  However, I want to pass in a single parameter (tFileName), and
I can't figure out the syntax.

 

RUN SELECT USING .tFileName ConvertProgram IN TableName WHERE RowID =
.vRowID 

 

doesn't work.

 

--

Larry

 

Reply via email to