Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where is a default Field value coming from.
Message
From
21/01/2003 16:17:20
 
General information
Forum:
Visual FoxPro
Category:
CodeMine
Miscellaneous
Thread ID:
00743018
Message ID:
00743955
Views:
18
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform