IDE Setup
- PowerBuilder 2017 R3 Standard Edition, build 1858.
- Connected to MSSQL 2012 (SP4) using ADO.NET.
- System Options as follows:
- [ ON ] Free Database Driver Libraries on Disconnect
- [ OFF ] Disable database connection when compiling and building
Experienced Behavior
Database Painter | SELECT Odd |
Error: Invalid object name 'Someone.Knows' |
UserObject Painter | int Behavior |
Silence when compile or save |
Why don't I see warnings when embedded SQL is invalid?
I tell myself IDE used to complain of my table/column name typos. Am I wrong?
/Michael
I verified that
1) "Disable DB connection" is OFF
2) Script painter's "Display DB warnings" is ON
3) PB IDE's DB connection is alive
TEST A: Original PC but via SNC (SQLNCLI11) => No warnings
TEST B: Other PC, PB 2017R3, #1858 via SNC to MSSQL 2016/SP1 (localDB) => No warnings
TEST C: "Other PC", PB 2019, #2082 via ODBC to SQLAny V16 => No warnings
Syntax error are caught like INTO :UNKNOWN-var -- but DB errors are NOT caught.
My gut feeling is some config option disables the DB dictionary lookups. Just no clue why.