PxPlus User Forum

Main Board => Discussions => Language => Topic started by: Peter.Higgins on May 16, 2019, 03:09:06 PM

Title: database.pvc encapsulation issue gives wrong results.
Post by: Peter.Higgins on May 16, 2019, 03:09:06 PM
Hoping this is already a non issue in V2019 because of the SQL export.   Nice job on all the upgrades. 

Just wanted to bring this to your attention. 
When using database.pvc :
If setdatabase(x$) method is used to set a new dictionary, the %Z__PVXDDF$ variable is not set. 
This is important as other methods besides password use CALL "*dict/dd_updt;... and these methods fail if the current path in %Z__PVXDDF$ is not the same as X$ because  "*dict/dd_updt" calls a dictionary open routine dependent on  %Z__PVXDDF$ path in the opens.   
Thanks