Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Auto-inc ID field - what should I specify in CA?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01410758
Message ID:
01410911
Vues:
25
>>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform