PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • Overview
  • Characteristics of a query
  • Creating a query from the report editor
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
A query is used to interrogate a database in order to view, insert, modify or delete data. The structure of the query defines the data used.
A query can interrogate one or more data files.
The query editor allows you to easily create queries without programming.
For example, regarding the Sales Management application, you want to find out:
  • the orders placed in March 2015. You are going to create a query used to select the orders placed between 03/01/2015 and 03/31/2015 in the ORDERS file.
    The QRY_March2015 query interrogates the ORDERS file.
  • the numbers of the orders placed by customers who live in Paris (France). You are going to create a query that will interrogate:
    • the CUSTOMER file to select the customers who live in Paris (France).
    • the ORDERS file to display the order numbers.
The QRY_OrdersCustomerParisFrance query interrogates two data files (CUSTOMER and ORDERS).
Characteristics of a query
The characteristics of a query are:
Once the query is created, the characteristics of this query can be modified at any time. See Description of a query for more details.
WINDEV allows you to optimize the execution speed of a query. See Optimizing a query for more details.

Creating a query from the report editor

When creating a report, you have the ability to define a query. This query will be called embedded query.
See Creation mode of queries for more details.
Related Examples:
WD Managing a computer fleet Complete examples (WINDEV): WD Managing a computer fleet
[ + ] This example presents the management of a computer fleet with WINDEV.
The following topics are presented in this example:
1/ the printed reports,
2/ the graphic representation of the location of the computer,
3/ the automatically filled combo boxes.
Summary of the example supplied with WINDEV:
This example is used to manage a computer fleet.
For each computer, you will be able to define its characteristics, its components, the person who is using it as well as its location in the offices.
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment