StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
Business Objects and Data Access (How do I?)
»
Where does the parent's index get assigned?
Where does the parent's index get assigned?
Post Reply
Like
0
Where does the parent's index get assigned?
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Bill Cunnien
Bill Cunnien
posted 16 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 785,
Visits: 3.6K
I am working through various issues with the ChildFormDialog process. I have duplicated the code that I found in the CRM sample app. I don't think I missed anything. The edit process had me stumped until I realized that I was filling the wrong BO with the detail data (silly me
). Now, I am having trouble with the add process. When the add button is clicked, the child form is sent a boolean parameter of true which tells the child form to create a new detail item. On the detail form there is no hint of the parent BO so no parent index is floating around anywhere. I cannot assign the parent index before or after the dialog because the timing would be off (I think). When do I assign that parent index to the child record?
Thanks!
Bill
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
Where does the parent's index get assigned?
Bill Cunnien
-
16 Years Ago
If you need to assign any values to a new record that is created by...
StrataFrame Team
-
16 Years Ago
I thought about passing the index in the constructor. So far, that...
Bill Cunnien
-
16 Years Ago
This is the error I get, even if I turn that property on:...
Bill Cunnien
-
16 Years Ago
I went with the passing-the-index-to-the-constructor method. That...
Bill Cunnien
-
16 Years Ago
Looking at that snapshot, is what is the value of the foreign key...
StrataFrame Team
-
16 Years Ago
The parent already exists. I will be setting up another ChildDialog...
Bill Cunnien
-
16 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