Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Got it, Thanx.
>>I have two VFP6.0 tables in a database with the structures below. How do I create a persistant relationship from within a program using the info from ADBOBJECTS(ajunk, 'relation')?
>>
>>table: junk1
>>field: junk_id I primary key
>>field: junk_text c(20)
>>
>>table: junk2
>>field: junk_id I regular index
>>field: other_junk_text c(20)
>
>Paul,
>
>One fairly easy way to get the answer to this question, and others like it, is to create your persistent relationship using the designer and then run GenDBC.prg and read the output from it. GenDBC.prg can be found in the Visual FoxPro directory system under YourVFPDirectory\Tools\Gendbc.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement