StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
Business Objects and Data Access (How do I?)
»
Relating on non primary key
Relating on non primary key
Post Reply
Like
0
Relating on non primary key
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Ian Johnston
Ian Johnston
posted 15 Years Ago
ANSWER
Topic Details
Share Topic
Group: StrataFrame Users
Posts: 77,
Visits: 470
I am importing lagacy data. I have imported the data using sqlBulkCopy the old data priamry key is a random number entered by the user so they are all over the place. The new tables auto generate the primary keys. I heed to link te two tables on a field containing the old primary key so that I can update the FK with the new PK. I have been looking at the BusinessLayerLinkManager but am not getting anywhere. Is that the way I should be doing this?
Reply
Like
0
Replies
Greg McGuffey
Greg McGuffey
posted 15 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 2K,
Visits: 6.6K
Ian, is this a data migration task (i.e. you're doing it or writing a script to handle it one time) or is this something the users need to do as part of normal use of the app?
Reply
Like
0
Ian Johnston
Ian Johnston
posted 15 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Users
Posts: 77,
Visits: 470
This is a one time migration operation. Got it working using Ivan's suggestion.
Reply
Like
0
Ivan George Borges
Ivan George Borges
posted 15 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame MVPs
Posts: 1.9K,
Visits: 21K
Glad it helped, Ian.
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
Relating on non primary key
Ian Johnston
-
15 Years Ago
Hi Ian. If I understand what you need, you have a Parent and a Child...
Ivan George Borges
-
15 Years Ago
Ian, is this a data migration task (i.e. you're doing it or writing a...
Greg McGuffey
-
15 Years Ago
This is a one time migration operation. Got it working using Ivan's...
Ian Johnston
-
15 Years Ago
Glad it helped, Ian. :cool:
Ivan George Borges
-
15 Years Ago
Thanks for the input, got it working using a lookup on th old key and...
Ian Johnston
-
15 Years Ago
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search