Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modifying a cursor
Message
De
17/06/2014 17:39:18
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Modifying a cursor
Versions des environnements
Visual FoxPro:
VFP 5
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01602016
Message ID:
01602016
Vues:
72
Hi All:

What is the best way to add to more columns to a cursor and still remain with the same name?

i.e. is this legal:
Sele custno, fieldb ;
from Table1 ;
Into Cursor cursor1

sele cursor1.*, nvl(cursor2.sales, 0) ;
 from cursor1 c1 ;
left outer join cursor2 c2 ;
on c1.custno = c2.custno ;
into cursor <b><i>cursor1</i></b>   &&  <==Same Name
I'm in VFP5, but that should no make any difference; I'll test that.

Thanks,

Yossi
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform