Object Pointer Info
Charles Yeomans
yeomans at desuetude.com
Fri Mar 7 14:52:57 CST 2003
On Friday, March 7, 2003, at 01:59 PM, Steve Kump wrote:
> Hi Ruslan,
>
> I read the document and found the paragraph you were talking about.
>
> So, if I have 2 tables, Dealer and Listings, I create the ObjectPtr in
> the
> Listings table to point to RecID of the Dealer record I want to relate
> it
> to. This makes sense...when I add a new Listings records, I first get
> the
> related Dealer record RecID, and add it to the ObjectPtr field in the
> Listing record.
>
> But here is my situation:
>
> I want to import several hundred records from a text file into the
> Listings
> table. How do I create the relationship for these records now? Do I
> have to
> update each one of them with the RecID for the dealer?
>
>
First, import the existing primary and foreign keys to define
relationships. Then if you decide that you want to switch to ObjectPtr
fields, you can write a script that maps the relationships to ObjectPtr
fields.
Charles Yeomans
More information about the Valentina
mailing list