Hi,
I have the following query,
SELECT Control.Revision, Control.Fecha_ult_revision
FROM Control
WHERE (((Control.Numero)=[Num]) AND ((Control.Hoja)=[hoj]))
ORDER BY Control.Revision;
The aim of this query is try to obtain filtered the list of revisions, and its revision date (Fecha_ult_revision), of one number of plane (field Numero), and its sheet plane (Hoja), but I have to obtain a list of rows that goes from the first plan (origin), until penultimate plan.
I need to rull out the last row of the result of the query, if I do with ORDER (Asc), the first row if I do with ORDER (Desc).
The query needs to add more conditions, but I don`t know how.
F<or the moment:
The filter is done over the field "Revision", which has a field type of Text, one kind of format this field would be for example: 1 or 1.1, 1.1.1
The other field where the filter is done is the field "Hoja", which has a field type text, one kind of format this field would be for example:Number/
Number-->for example: 1/1
I would be very grateful if anybody could help me.
Thanks with anticipation.
Regards.
I have the following query,
SELECT Control.Revision, Control.Fecha_ult_revision
FROM Control
WHERE (((Control.Numero)=[Num]) AND ((Control.Hoja)=[hoj]))
ORDER BY Control.Revision;
The aim of this query is try to obtain filtered the list of revisions, and its revision date (Fecha_ult_revision), of one number of plane (field Numero), and its sheet plane (Hoja), but I have to obtain a list of rows that goes from the first plan (origin), until penultimate plan.
I need to rull out the last row of the result of the query, if I do with ORDER (Asc), the first row if I do with ORDER (Desc).
The query needs to add more conditions, but I don`t know how.
F<or the moment:
The filter is done over the field "Revision", which has a field type of Text, one kind of format this field would be for example: 1 or 1.1, 1.1.1
The other field where the filter is done is the field "Hoja", which has a field type text, one kind of format this field would be for example:Number/
Number-->for example: 1/1
I would be very grateful if anybody could help me.
Thanks with anticipation.
Regards.