Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CURSOR Experiencing Memo Bloat
Message
De
16/07/2006 10:17:49
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
16/07/2006 10:06:13
John Onysko
1 Edi Source, Inc.
Hudson, Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
01136610
Message ID:
01136776
Vues:
12
>The main problem, pared down, is that the "table" is explicitly referenced in many locations. Also, this table is available for users to reference in what we call "custom operators". So, when they need a value, they use "Table.Field". We can't tell our user base to go through and change "Table.Field" to "m.Field" -- it simply won't work. We've had to live with this and have accepted that there is nothing we can do about it. This is the first time it has hurt us in a decade and a half.

Probably you didn't see what I mean before. Say your cursorname is aliased as "xx" and they would use "xx.yy". You could do this:

use dbf("xx") in 0 again alias "zz"
scatter name xx memo && you said it was a single record
use in "xx"

Now xx.yy is your object's yy property.

xx.yy = "new value" && set
lcNewValue = xx.yy && get

select zz
gather name xx memo && final replace if there is ever a need

xx.yy syntax (where xx is an object) is also valid for controlsources, update/select/delete-sql statements etc.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform