Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select...into cursor used in grid
Message
De
27/03/1998 17:02:04
 
 
À
27/03/1998 16:57:32
Swen Nielsen
Squire Sanders & Dempsey
Cleveland, Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00087832
Message ID:
00087833
Vues:
32
>I havve a grid on a pageframe. The recordsource type is SQL. The recordsource is:
>
>"select Partno, Desc, QRec, QSold from Inven where Partno = thisform.currpart into cursor temp"
>
>This works great as I navigate through the partno's.
>
>If I change the recordsource to:
>
>"select Partno, Desc, (QRec - QSold) from Inven where Partno = thisform.currpart into cursor temp"
>
>I only get a single row in the grid for the first partno.
>
>Is there a restriction I don't know about?
>
>TIA- Swen

When you run Select ... where Partno = thisform.currpart, obviously you should get records for this particualr Partno (one?). So, actually second example works properly. You can always check how many records you got by =RECCOUNT("temp")
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform