PxPlus User Forum

Main Board => Discussions => Wish List => Topic started by: Sebastiaan Fisscher on August 09, 2018, 08:00:27 AM

Title: Create new ddf from datadictionary window
Post by: Sebastiaan Fisscher on August 09, 2018, 08:00:27 AM
At the moment it's not possible to create a new ddf and dde from the Data Dictionary Maintenance window.
I really miss this option, I usually need to find and copy/paste an empty providex.ddf/dde to the new folder, or empty out an existing one.

Could there please be an option to create a new providex.dde/ddf from the Data Dictionary Maintenance menu?
* I mean creating a new ddf/dde and choosing the desired folder.
Title: Re: Create new ddf from datadictionary window
Post by: Thomas Bock on August 10, 2018, 02:06:42 AM
We also missed that option in the past.
You have 2 options

- #1 -
d=new("*dict/database")
d'createdatabase(pathOfNewDD$)

- #2 -
%z__pvxddf$=pathOfNewDD$; rem double underscore
call "*dict/maint"; rem you will be asked to create an new DD
Title: Re: Create new ddf from datadictionary window
Post by: Sebastiaan Fisscher on August 10, 2018, 02:52:53 AM
Thank you for those examples Thomas. It's still not very intuitive to use command prompt commands to create a ddf file, so I hope there is going to be a simpler way to create new files.