All:
RGB11

An automated SELECT statement assembly routine produces the variable:

v006_select_statement

... from multiple variable segments, which contains a single, no-line-break string such as:

SELECT &v006_columnList INTO v006a_hsldOrder_1 INDICATOR vind1, v006a_titleCode_1 INDICATOR vind2, v006a_firstName_1 INDICATOR vind3, v006a_firstInitial_1 INDICATOR vind4, v006a_familiarName_1 INDICATOR vind5, v006a_middleInitial_1 INDICATOR vind6, v006a_middleName_1 INDICATOR vind7, v006a_lastName_1 INDICATOR vind8, v006a_nickName_1 INDICATOR vind9, v006a_genCode_1 INDICATOR vind10, v006a_degCode_1 INDICATOR vind11 FROM &v006_sourceTable WHERE &v006_sourceTable_key = .v006_personID

When run at the R> Prompt, all variables resolve correctly, every time.

But, running within an EEP as:

&v006_select_statement

... produces:

-ERROR- Syntax is incorrect for the command SELECT (2045)

What might I be missing here?

Appreciate your help, Bruce

Bruce A. Chitiea
SafeSectors, Inc.
1142 S Diamond Bar Blvd # 442
Diamond Bar CA 91765-2203

rby...@safesectors.com
(909) 238-9012 m

--
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- You received this message because you are subscribed to the Google Groups "RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rbase-l+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rbase-l/emab611a14-d9e9-43af-b8bb-230b2c199b66%4018b6fc2a.com.

Reply via email to