M
Michael Brandt
Guest
I am attempting to use the Progress.o4glrt.dll to retrieve Prodatasets into C#.net. I successfully used that following example to retrieve prodatasets with a single table: http://documentation.progress.com/output/ua/OpenEdge_latest/index.html#page/dvnet/adding-the-prodatasetmetadata-object-with-its-da.html# However, as soon as I add a second table, I get the following error: ERROR condition: Remote mismatched fields or mismatched BEFORE-TABLE attribute for temp-table parameter or dataset member parameter. (12324) (7211) I have run each table independently in the prodataset, and each returns rows as expected. When I include both tables in the metadata at the same time, and add the relation code as follows, I get the above error: ProDataRelationMetaData relation1 = new ProDataRelationMetaData("UsrRel", 1, 0, 1, "user-id,user-id"); md.AddDataRelation(relation1); I have adjusted the parent and child indices, and also tried including each table's index in the TempTableMetaData. No luck on either approach. It appears I need to provide some piece of missing information, however it's not clear from the documentation or the error message what I need to include. I would appreciate any guidance from someone who has managed to successfully use the Open Client with Prodatasets containing multiple tables. Thanks, Michael
Continue reading...
Continue reading...