4D v14ビデオの内容 |
||
|
4D v14
ビデオの内容
ビデオの内容
Today, we're going to learn how to perform advanced queries and to modify data en masse and sort them according to a calculation formula. Let's look at an example with the interventions. First, we want to extract all the interventions that took place in the month of December regardless of the year. Since we don't have a "Month" column, a conventional search is not possible because we have to extract the month from the date itself. In the "Records" menu:
The editor has 3 columns:
To form the query formula:
So we're going to search for all the interventions whose month is equal to 12. We can sort them by chronological order (2009, 2010, and so on) but we've been asked to sort them by day (all the 1s together, then the 2s, and so on). In the "Order By" menu:
As in the previous editor:
And we get all the 1s together, then the 2s, and so on, but they are mixed with 2010, 2009, 2011, etc. So we're going to add a "normal" sort criteria so that they'll also be sorted by ascending year:
Then we obtain all the interventions for the month of December, sorted by date and time, year by year. Now we're going to apply a formula; in other words, change the value of a field for the records displayed. Warning: This operation is cannot be undone. In order, we must:
In the import of interventions that we made, the duration of the training sessions was not included (7:00:00). So we're going to:
As in the previous editor:
Durations are now assigned to all the training sessions. |
プロパティ
プロダクト: 4D ARTICLE USAGE
セルフトレーニング ( 4D v13) |