Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Declare a cursor?
Message
 
 
À
23/12/1999 14:30:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00308067
Message ID:
00308141
Vues:
42
Stacy,

>>can you start a cursor name w/ a numeric value?
>
>Nope, or form properties/methods and object names, or field names.

It's a FP limitation. You MUST start from letter. Try this:
curName='1eee'
CREATE CURSOR (curName) ;
 (EmpID N(5), Name C(20), Address C(30), City C(30), ;
  PostalCode C(10), OfficeNo C(8) NULL, Specialty M)

&& Gives a syntax error

curName='rr'
? curName
CREATE CURSOR (curName) ;
 (EmpID N(5), Name C(20), Address C(30), City C(30), ;
  PostalCode C(10), OfficeNo C(8) NULL, Specialty M)
brow
works fine
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform