PxPlus User Forum

Twitter Twitter Twitter

Author Topic: Create new ddf from datadictionary window  (Read 1550 times)

Sebastiaan Fisscher

  • Silver Member
  • ***
  • Posts: 23
    • View Profile
    • Astecom Business Software
Create new ddf from datadictionary window
« 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.
« Last Edit: August 10, 2018, 02:34:39 AM by Sebastiaan Fisscher »

Thomas Bock

  • Diamond Member
  • *****
  • Posts: 177
    • View Profile
Re: Create new ddf from datadictionary window
« Reply #1 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

Sebastiaan Fisscher

  • Silver Member
  • ***
  • Posts: 23
    • View Profile
    • Astecom Business Software
Re: Create new ddf from datadictionary window
« Reply #2 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.