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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

For example, creating a new customer in "Customer" file.This query generates the following SQL code ("SQL code" from the popup menu of the query) :INSERT INTO Customer( Title, CustomerName, Address1, ZipCode, City )VALUES(’Miss’, ’Montgomery’, ’225 half Moon Walk’, ’34125’, ’Miami’,"Florida" )2.3.2 Creating an Insert queryTo create a new Insert query:1. Start the wizard for creating queries:• click among the quick access buttons.• click "Query" in the wheel that is displayed.2. Choose to create an Insert query ("Insert" option).3. If your project is not linked to a WinDev or WebDev analysis, specify the analysis to which the querymust be linked. Validate the wizard screen.4. Select the data file into which the data will be inserted. Go to the next screen.5. Click the "Value/Parameters" column of the items for which some new values will be inserted. A windowallows you to select the value or the parameter to insert.6. Specify the value or the parameter containing the value to insert. The new values to insert can correspondto:• the default value defined in the WinDev or WebDev analysis.• a specific value. In this case, specify this value.• a value found in a parameter. In this case, specify the name of the parameter.•a null value.7. Validate your choice.170Part 2: Query editor

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

Saved successfully!

Ooh no, something went wrong!