Hi, PowerBuilder's IDE looks for 5 tables named PBCATxxx that define a sort of data dictionary that the DataWindow engine in PowerBuilder uses to provide default UI settings for tables and columns. EX:
- Standard validation rules
- Standard edit styles
- Standard labels & headers, fonts, text adjustment, data field sizes
Purpose: To enable consistent display of same data across all UI independent of which developer is building a DataWindow.
When these 5 tables don't exist, PB IDE will try to create them using your DB credentials - and you lacked permissions.
You can decide to opt out of using the PB data dictionary. Result: More manual developer work and risk of less consistency, like one developer using label = Last Name and another using label = Surname. Or one using font pt. Arial, another 10 pt. Arial, and a third 9 pt. Tahoma.
How to disable data dictionary:
- Open PowerBuilder IDE's Database Painter (menu: Tools > Database Painter)
- Open Database Preferences (menu: Design > Options...)
- On tab page = [General], in group = Painter Options) => UNCHECK [Use Extended Attributes]
Extended Attributes is PowerBuilder's name for data dictionary.
Now, your IDE will no longer look for PBCATxxx tables and DataWindow objects are created without the benefit of standard UI settings.
HTH /Michael
Tested again on PB 2019 R2 #2203 with SQL Native Client and MS SQL having @@Version =
Microsoft SQL Server 2016 (SP1) (KB3182545) - 13.0.4001.0 (X64)
Oct 28 2016 18:17:30
Copyright (c) Microsoft Corporation
Express Edition (64-bit) on Windows 10 Pro 6.3 (Build 18362: ) (Hypervisor)
What DBMS and DB driver are you using? There could be dependencies I wouldn't think of.