Create new ddf from datadictionary window

Started by Sebastiaan Fisscher, August 09, 2018, 08:00:27 AM

Previous topic - Next topic

Sebastiaan Fisscher

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.

Thomas Bock

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

Sebastiaan Fisscher

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.