For Programmers: Free Programming Magazines  


Home > Archive > Clipper > October 2005 > select()









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author select()
Alan Secker

2005-10-05, 6:55 pm

I've just hit a snag.

nWkarea := select("NAME")

// returns the correct area number but doesn't change to NAME.

nWkarea := select()
select ("NAME")

// Does.

This is in Clipper 5.2e
Anyone else getting this?

Alan Secker



Ian Boys

2005-10-05, 6:55 pm

From the Help file:
SELECT() returns the work area of the specified alias as a integer
numeric value.

So it just tells you where you are. It doesn't work like SETCOLOR() by
changing and reporting at the same time. SELECT NAME will change the work
area

Ian Boys
DTE


"Alan Secker" <alan(delete this bit)@asandco.co.uk> wrote in message
news:pan.2005.10.05.18.49.54.626261@asandco.co.uk...
> I've just hit a snag.
>
> nWkarea := select("NAME")
>
> // returns the correct area number but doesn't change to NAME.
>
> nWkarea := select()
> select ("NAME")
>
> // Does.
>
> This is in Clipper 5.2e
> Anyone else getting this?
>
> Alan Secker
>
>
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com