PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • Overview
  • Creating an item
  • Handling an item
  • Duplicate/Copy an item
  • Delete an item
  • Rename an item
  • Use a dictionary
  • Sorting the items displayed in the file description
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Overview
In the data model editor, the main operations that can be performed on an item are as follows:
Creating an item
To create an item:
  1. Double-click the data file where the item will be created. The description window of file items is displayed.
  2. Click the first empty row in the table of items or click .
  3. Specify the name, caption, size and type of item in the table.
    Note: See The different types of items for more details.
  4. In the right part of the screen, specify the details about the new item (type of key, search direction, format, ...).
  5. Validate the item description.
Note: See the context-sensitive help of description window for more details ( ).
Handling an item

Duplicate/Copy an item

When creating an item whose name is identical to the name of an existing item, WINDEV, WEBDEV and WINDEV Mobile automatically propose to use the description of the initial item.

Delete an item

To delete an item:
  1. Select the item to delete in the description of the items found in a data file.
  2. Click the button. The item is automatically deleted from the data file.
Notes:
  • When creating an item whose name is identical to the name of an item that was previously deleted, WINDEV, WEBDEV and WINDEV Mobile automatically propose to restore the description of the deleted item.
  • Deleting an item triggers the deletion of data during the next automatic data modification, even if a new item with the same name is created.

Rename an item

To rename an item:
  1. Select the item to rename in the description of items found in a data file.
  2. Type the new item name.
  3. Validate the modification. The item is automatically renamed.

Use a dictionary

An item can be included in a dictionary in order to be re-used in a new application for example. Including the item in a dictionary is performed by Drag and Drop from the data model editor to the dictionary (displayed in the "Dictionary" pane).
When it is included in a dictionary, the item description can subscribe to the modifications. Any modification performed in the item description will be applied to the dictionary object and to all the uses of this object.
See the Dictionary for more details.
Versions 22 and later
Sorting the items displayed in the file description
The display of items in a data file can be performed according to the following criteria:
  • logical order.
  • physical order.
  • alphabetical order.
To modify the display order of items:
  1. Double-click the data file. The description window of file items is displayed.
  2. The buttons found in the "Display" section are used to sort the items displayed in this window:
    • is used to perform an alphabetical sort.
    • is used to display the items and indexes in logical order.
    • is used to display the items and indexes in physical order.
  3. The magnifier found in the "Name" column ( ) is used to perform a search: all you have to do is click the magnifier and type the first letters sought.
New in version 22
Sorting the items displayed in the file description
The display of items in a data file can be performed according to the following criteria:
  • logical order.
  • physical order.
  • alphabetical order.
To modify the display order of items:
  1. Double-click the data file. The description window of file items is displayed.
  2. The buttons found in the "Display" section are used to sort the items displayed in this window:
    • is used to perform an alphabetical sort.
    • is used to display the items and indexes in logical order.
    • is used to display the items and indexes in physical order.
  3. The magnifier found in the "Name" column ( ) is used to perform a search: all you have to do is click the magnifier and type the first letters sought.
Sorting the items displayed in the file description
The display of items in a data file can be performed according to the following criteria:
  • logical order.
  • physical order.
  • alphabetical order.
To modify the display order of items:
  1. Double-click the data file. The description window of file items is displayed.
  2. The buttons found in the "Display" section are used to sort the items displayed in this window:
    • is used to perform an alphabetical sort.
    • is used to display the items and indexes in logical order.
    • is used to display the items and indexes in physical order.
  3. The magnifier found in the "Name" column ( ) is used to perform a search: all you have to do is click the magnifier and type the first letters sought.
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment