Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select (lcCursor) not selecting cursor???
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00346906
Message ID:
00347278
Vues:
31
>This is the offending code:
>

> lcCursor=SYS(2015)
> lnSelect=SELECT()
>
> Create Cursor (lcCursor) (cTitle c(100), cSubject c(100), cPrintData m)
>
> lcCaption=toCurrentForm.Caption
> lcTitle=AllTrim(Left(lcCaption, At(':', lcCaption)-1))+" Notepad"
> lcSubject=AllTrim(SubStr(lcCaption, RAt(':', lcCaption)+1))
> Insert Into (lcCursor) Values (lcTitle, lcSubject, toCurrentForm.ActiveControl.Value)
> Select (lcCursor)
>


One additional thought.

Try passing tocurrentfor.activeControl.value as a parameter by value -- so that this method contains no object references. If this works, it will tell us that something in the object reference was causing a problem. If not, on to the next solution.
Thanks

Gar W. Lipow
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform