0% found this document useful (0 votes)
57 views10 pages

Module3 Day1 Task1 StepByStepGuide Trisha

Uploaded by

nicolereminajes
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
57 views10 pages

Module3 Day1 Task1 StepByStepGuide Trisha

Uploaded by

nicolereminajes
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

MODULE 3-DAY1 TASK

STEP BY STEP GUIDE


DEVELOPMENT BASICS. JUNIOR COURSE
01

PREPARED BY:
TRISHA NICOLE L. REMINAJES
PRACTICE TASK:
To successfully complete tasks on queries in Module 3, use data processor
Download Query Console QueryConsole_en.epf for debugging your queries.

Make sure you create queries for the provided infobase Download Infobase for
Queries InfoBaseForQueries.dt.

You can add user data for this database to let queries work as designed.

In case you use a different information database for these tasks, you get zero
points.

TASK 1:

Create an external data processor that sums up totals in all Purchases and Sales documents.
Integrate calculator functionality into the data processor.

SOLUTIONS:

→ → →
→ →
Step 1: Restore the infobase for Queries InfoBaseForQueries.dt File Right Click
Open New File then Select External Data Processor Click OK.

01
Step 2: Create a Form then named it as Calculator. Then 3 windows will appear. Create
fields for TotalPurchases, TotalSales, FirstNumber, Operator and Results. Drag
them to Form.

Step 3: In commands, Create numbers 0-9 buttons for calculator. Just redo what we did in
this number One

02
Step 4: Create commands for operators and equal sign. Do the same thing to other
operations.

Step 5: Create commands for Clear.

Commands:

03
Step 6: Add the following codes:

Codes for numbers, just change the value of number:

Codes for operators, just change the operator symbols:

Codes for equal sign:

04
Codes for Clear button:

Additional codes for Total of Purchases, Total of Sales, and checking symbols

05
Step 7: Drag all of fields and commands to the Form.

Step 8:. Save the data base configuration by pressing F7 key on keyboard.

06
DEMONSTRATION OF SOLUTIONS:
Execute the queries
Step 1: To check if the calculator is working, Click start debugging the infobase

Step 2: Wait for the application to run/display on screen. Go to File and open the external
data processor we created.

07
Step 3: A warning message will appear. Click YES.

08
Step 4: Try to add two numbers. Here's the example:

100 + 98 = 198

clear button to reset the calculator

09

You might also like