Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select on a view
Message
 
À
04/11/2003 15:55:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00846171
Message ID:
00846189
Vues:
31
>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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform