Bruce,

You may want to build the command


SET VAR vbtable TEXT = NULL
SET VAR vbtable = .%1

SET VAR vCommandLine TEXT = ('BROWSE * FROM '+.vbtable)

&vCommandLIne

CLEAR VAR vbtable

RETURN



-----Original Message-----
 From: "Bruce Chitiea" <[email protected]>
 To: [email protected] (RBASE-L Mailing List)
 Date: Tue, 26 Jun 2012 12:14:59 -0700
 Subject: [RBASE-L] - Simple command syntax error


All: 


Table 'pksdatatest' exists, in good shape. 


If I run 'BROWSE * FROM pksdatatest' ... at the R> prompt, I get what you'd 
expect.


If I run 'RUN lookit.rmd USING pksdatatest' ... at the R> prompt, I get the 
error:


   'Syntax is incorrect for the command BROWSE (2045)'


Lookit.rmd:


   SET VAR vbtable TEXT = NULL

   SET VAR vbtable = .%1

   BROWSE * FROM .vbtable

   CLEAR VAR vbtable

   RETURN


Show Var verifies that:


   vbtable = pksdatatest

   %1-0 = pksdatatest


TRACE bombs on the BROWSE line as well.


Thoughts?


Bruce

Reply via email to