Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select on a view
Message
 
To
04/11/2003 15:55:35
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00846171
Message ID:
00846189
Views:
20
>Hi!
>in vfp7 I used to issue a select statement
>on a dataenvironment cursor caling it by it's alias
>something like select vtable.field1, sum(vtable.field2) as ssum from vtable ;
> group by field1 into cursor c1 nocon
>
>when porting the form to vfp8 the same select returns an empty cursor!!
>
>q1. what causes this behaviour
>q2. Can I issue a select on the dataenvironment cursor's actual data.
>
>Thanks in advance,
>
>Nir.

a1. try SET ENGINEBEHAVIOR 70 in the start of your program

a2. i don't understand exactly what you mean. Normally, if the cursor is not in the DE, you can't run a SELECT unless you manually USE it. Also, you can use a cursor ( even from another SELECT ) in a new SELECT statement, as long as you don't close the cursor.

HTH
Jaime
Why do programs stop working correctly as soon as you leave the Fox?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform