Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where is a default Field value coming from.
Message
De
21/01/2003 16:17:20
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Divers
Thread ID:
00743018
Message ID:
00743955
Vues:
19
Mel,

So, I can create a primary key on a table, then define a counter in my app registry with the same name as the table. Codemine will then automatically fill in the value with the counter value. No other code or settings required.

What still baffles me is why doesnt that counter show up in the registry until I create a new record.

The codemine help states: The default counter key path is "Shared.Counters.Primary Key " + the table name.

But the path of this counter is "ecnc_appreg01.counters.primary key tcalibrate" where ecnc is my project name and tcalibrate is the table.

If I were to create this scenario myself, i would try to put the counter in the default location. How does it get created 'on the fly' in another location and still retain the old value? I guess im making too much of this, but i'd like to get a handle on whats happening. Thanks for your input..

Yes I eat a speedy's every now and again. Being from lexington, BBQ places are on every corner. Speedy's does give the largest portions of anyone in town.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform