Tom,

 

Your first example has spaces between the commas and the next element on the
list, while the second list does not.  As a rule, do not introduce those
spaces and everything will be left justified on the CHOOSE.  You may need to
declare a variable with everything on one line for the list to get
completely consistent results:

 

SET VAR vlist =
'Managers,Engineers,Superintendents,Finance,MIS-CRAM,PR_Contacts,PR_Alternat
es,Permit_Contacts,Permit_Alternates'

 

Then:

 

CHOOSE vaudience FROM #LIST .vlist

 

As for the difference you are seeing between desktop and laptop, there is
probably some other issue you just aren't seeing that is causing the one to
fail.

 

Emmitt Dove

Manager, Converting Applications Development

Evergreen Packaging, Inc.

[email protected]

(203) 214-5683 m

(203) 643-8022 o

(203) 643-8086 f

[email protected]

 

From: [email protected] [mailto:[email protected]] On Behalf Of Thomas
Eldred
Sent: Tuesday, September 22, 2009 11:02 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Choose settings

 

Good Morning,

 

I am a bit confused with respect to using choose it seems.  I get two
different behaviors on two different machines using the same build.

 

On my laptop, 

CHOOSE vaudience FROM #LIST +

'Managers, Engineers, Superintendents, Finance, MIS-CRAM, +

PR_Contacts, PR_Alternates, Permit_Contacts, Permit_Alternates'

Returns the data requested as expected.  It does however introduce spaces
into the choose list for each item following the first.

 

So being happy with the outcome, I copied it to my desktop and this throws
an error that no rows match. 

 

However using:

CHOOSE vaudience FROM #LIST +

'Managers,Engineers,Superintendents,Finance,MIS-CRAM,+

PR_Contacts,PR_Alternates,Permit_Contacts,Permit_Alternates'

 

On the desktop returns the same dataset as the laptop code.

 

Now what really confuses me is that if I run the first set on my desktop
using the file as it was saved on  a USB drive it runs as though it were on
the laptop. So I am curious is this an RBase setting I need to bring into
alignment between the machines, or is this some other setting, or is it just
a weird fluke?

 

Thanks for any insight you may be able to provide.hope to see you in
October!

 

 

Tom Eldred

 

 

 

Reply via email to