[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: A way to join dynamic tables?

  • Thread starter Thread starter David Abdala
  • Start date Start date
Status
Not open for further replies.
D

David Abdala

Guest
My solution is not code, but pseudocode, and is almost exactly what you did. I see a couple of potencial problems in your code: - There is no 'BY', so there is no guarantee that both querys are traversing the tables in the same order - You are not comparing "primary keys", so you can't be sure if you are stepping over the right record, which means you assume both tables have exactly the same records Given the above assumptions, I don't see a reason to do what you are doing, because all you are doing is forcing records in table1 to be persisted in table2, "no matter what". My conclusion is: - You are missing some checks - Or you are complicating a simpler process

Continue reading...
 
Status
Not open for further replies.
Back
Top