4D v13Video script |
||
|
4D v13
Video script
Video script
In this video, we're going to learn how to implement simple SQL commands that are integrated into 4D programming in two forms:
In addition to the 4D language, we can integrate SQL commands into 4D as you do in other tools:
These commands can also easily be integrated into your existing development projects. We're going to take our Statistics form to calculate the same array based on SQL commands:
Note the syntax which indicates to 4D to transfer the result into the arrays. We use the variable name preceded by the “:” (colon).
When the method is executed:
and whether we choose one or the other of the options, we still obtain the same result. Another way of programming, especially with this first part, would be to write it as follows:
which gives us the exact same result. |
PROPERTIES
Product: 4D |