[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Same Table Names Across 2 Databases Needing Simultaneous Connection

  • Thread starter Thread starter Peter Judge
  • Start date Start date
Status
Not open for further replies.
P

Peter Judge

Guest
I don't know if this is possible without changing all the code that needs to reference both tables. You can either change the FOR EACH to add the WDS qualifier, or you can define a buffer with the same name, which should work., DEFINE BUFFER Location FOR WDS.Location. For example // Command line is "prowin -ld s1 -db sports2000 -db sports2000" define buffer Customer for sports2000.Customer. for each Customer: find s1.Customer of Customer. end. For the code that only uses one table, just compile that code against one database.

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