Bug in FillByParent()


Author
Message
fparker
fparker
StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)StrataFrame Beginner (31 reputation)
Group: Forum Members
Posts: 31, Visits: 199
If a business object calls its FillByParent() method and the parent's CurrentView contains no rows, the SQL statement that is built will not be properly formatted and a SQLException will be thrown ("incorrect syntax...").  If the parent business object's CurrentDataTable has at least one row, the problem can be worked around by blanking out the RowFilter property of the parent's CurrentView before calling FillByParent() and then reestablishing it after FillByParent() completes.  If you have any questions, let me know. 
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
fparker - 17 Years Ago
StrataFrame Team - 17 Years Ago
Tim Dol - 17 Years Ago
StrataFrame Team - 17 Years Ago
                     The latest DLLs have been posted here:...
StrataFrame Team - 17 Years Ago
                         Thanks Ben. Tim
Tim Dol - 17 Years Ago
                             Sorry Ben, Just want to clarify. Does the code found in the above link...
Tim Dol - 17 Years Ago
                                 Hrm, yeah, those DLLs have the fix for FillByParent when the parent is...
StrataFrame Team - 17 Years Ago
                                     Hi Ben, The exception I'm getting when sch_SheduleBO1 is empty is:...
Tim Dol - 17 Years Ago
                                         Just following up to see if I have a problem or if there is a small...
Tim Dol - 17 Years Ago
                                             I have not had a chance to set this up, but it would probably be a...
Trent L. Taylor - 17 Years Ago
                                                 Hi Trent, Just to let you know that today I was bit by the same...
Edhy Rijo - 16 Years Ago
                                                     From what I can tell the issue is that the parent BO doesn't have any...
Trent L. Taylor - 16 Years Ago
                                                         [quote][b]Trent L. Taylor (04/28/2008)[/b][hr]But you are ALWAYS...
Edhy Rijo - 16 Years Ago
                         [quote][b]Ben Chase (10/15/2007)[/b][hr]The latest DLLs have been...
Edhy Rijo - 17 Years Ago
                             Yes, there will be an official release in the coming weeks/month. No...
StrataFrame Team - 17 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search