13.07.2015 Views

Reports & Queries - Source : www.pcsoft-windev-webdev.com

Reports & Queries - Source : www.pcsoft-windev-webdev.com

Reports & Queries - Source : www.pcsoft-windev-webdev.com

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

UCASEUNHEXUNICODEUNIONUPDATEUPPERUUIDVALUESVARIANCEVAR_POPVAR_SAMPWHEREReturns a string with all the character in uppercase, based on the current characterset.Contrary of HEX. Each pair of hexadecimal digits is interpreted as numbersand converted into a character represented by the number.Returns the integer value defined by the Unicode standard of the first characterin the specified expression.Performs union queriesUpdates the records of a data fileConverts the content of an item or character string into uppercase charactersGenerates a UUID (Unique Universal Identifier).A UUID is an integer on 128 bits represented in hexadecimal as a characterstring in the following format: aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee. AUUID is guaranteed as being unique for each call to the function.Used with the INSERT statement: Defines the added valuesReturns the variance of a series of data (sample data set).Returns the variance of a series of data (full data set).Returns the variance of a series of data (sample data set).Used to specify the selection conditions of a querySee the online help for more details.The code of the query can be directly entered if your database uses specific SQL keywords.2.8 Creation mode of queriesThe query editor proposes two methods for creating a query:• Creating the query in the query editor directly: This method was described in the above paragraphs.This query corresponds to an element (".WDR" file) and it can be used as data source for a report, awindow control or a page control (list box, <strong>com</strong>bo box, table, looper), in programming, in anotherquery, ... The query is said to be independent.• Creating the query from the wizard for creating the report or the control based on this query ("A querythat I want to define now" in the wizard for report creation or for control creation). No specific file iscreated. The query is said to be embedded.An embedded query cannot be used as data source for an element (report, …) other than the onewhere this query was created.An embedded query can be converted into an independent query.Part 2: Query editor 183

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!