Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Auto-inc ID field - what should I specify in CA?
Message
 
 
To
08/07/2009 10:51:25
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01410758
Message ID:
01410911
Views:
26
>>>>Hi everybody,
>>>>
>>>>I have an auto-inc field as my ID field in the table. For the CA, how should I define this field in the Schema?
>>>>
>>>>Thanks a lot in advance.
>>>
>>>Anyone has ideas? Should I forget about Auto-inc for such scenario and use generated auto-inc instead replacing all Null/Empty IDs with NewID() before saving?
>>>
>>>Thanks a lot in advance.
>>
>>Still no ideas? Nobody ever tried using CA is such scenario before?
>>
>>Thanks again.
>
>You should define it as INTEGER :-)

Do you know why Builder includes this code in the Init of CA
local lcDBC
lcDBC = 'W:\SSS\SMNA\DATA\MNA.DBC'
if dbused(lcDBC)
	set database to (lcDBC)
else
	open database (lcDBC)
endif
and should I comment it out? I don't want the path to be hardcoded.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform