devxlogo

16 table limitation for a datawindow select stmt

16 table limitation for a datawindow select stmt

Question:
Is there a work around the SQL server 16 table limitation? Maybe temporary tables, Access, or even denormalization of the database tables? The database is large and very complex that I’m working with, so any ideas would help. I’m tring to remember “PowerBuilder is your friend” but I’ve hit a wall on this table limitation situation.

Answer:
I have run into this problem in the past and was able to work around the problem by using child datawindows to do some of my joins.

For example if you where developing a sales report and needed to join to the office table to get the name of the office. You could just return the office code in the primary select, then in the report datawindow for the office code place a drop-down datawindow which was a list of all the offices. Then PB would automatically show the office description!

There would be no tab order on the report so the user would not be able to tell the difference and you save a join per code table.

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist