PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • Overview
  • How to proceed?
  • Correspondence between control and item
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
When you design a quick prototype, you often create windows (or pages) without defining any data files. When the prototype is validated, and only then, you decide to create the structures of the data files.
Instead of creating these data files "manually", WINDEV, WEBDEV and WINDEV Mobile allow you to export the content of the window (or page) to automatically create the corresponding structure of the data file.
How to proceed?
To generate a description of a data file from a window or from a page:
  1. Open the window (or the page) from which the description of the data file must be generated.
  2. Select "Windows/Page .. Generate a file description" (or "Generate a file description" from the popup menu of the window or page). The wizard for generating a file description starts.Start the wizard for generating a file description:
    • WINDEVWINDEV Mobile On the "Window" pane, in the "Edit" group, expand "Other actions" and select "Generate a file description". You also have the ability to select "Generate a file description" from the popup menu of the window.
    • WEBDEV - Server code On the "Page" pane, in the "Edit" group, expand "Other actions" and select "Generate a file description". You also have the ability to select "Generate a file description" from the popup menu of the page.
  3. Specify:
    • the logical name of the data file. This name will be used to handle the data file. By default, this name corresponds to the name of the window or page.
    • the caption of the file that briefly summarizes the subject of the data file. By default, this caption corresponds to the title of the window or page.
    • the representation of a record in the data file. This representation improves the meaning of the questions asked when describing the links. This option must be preceded by an indefinite article (A or AN).
  4. Go to the next step.
  5. Select the controls from which the items of the data file must be created. Only the controls that can be linked to an item are proposed. Go to the next step.
  6. Specify (if necessary) the type of key for each item (not key, unique key or key with duplicates). Go to the next step.
  7. The wizard presents the description of the data file to generate. Validate.
The new data file becomes the current data file in the data model editor. To modify it, double-click the data file to display the description of the file items.
See Operations on a data file and Operations on an item for more details.
Correspondence between control and item
All the controls of the window/page that can be linked to an item (edit control, radio button, table, ...) can become items in the generated description of the data file.
The type and the size of the item depend on the type of information displayed in the control (text, numeric, ...) and on the input size.
All the characteristics of the control are used in the shared information of the item.
Minimum required version
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment