R
RamonHiram
I am totally new into programming (even in access). I am trying to create a
custom auto number field where I need to look up the highest value of an item
that belongs to a certain field within the same table.
The DMAX works if I use it as a principal form. However, since both fields
belongs to a subform, the DMAX doesn't works properly.
tbl: Series
fields: [InitialSerie] and [FinalSerie] (every record has an InitialSerie and
a FinalSerie).
I am trying to make that the next record's [InitialSerie] is the last
record's [FinalSerie] +1. At the same time, in same record, the [FinalSerie]
is the [InitialSerie] + 30 (this last part is already set).
These fields are contained in the SUBFRM-Series, that is within FRM-Orden.
I'll appreciate much your help.
Thanks in advance.
custom auto number field where I need to look up the highest value of an item
that belongs to a certain field within the same table.
The DMAX works if I use it as a principal form. However, since both fields
belongs to a subform, the DMAX doesn't works properly.
tbl: Series
fields: [InitialSerie] and [FinalSerie] (every record has an InitialSerie and
a FinalSerie).
I am trying to make that the next record's [InitialSerie] is the last
record's [FinalSerie] +1. At the same time, in same record, the [FinalSerie]
is the [InitialSerie] + 30 (this last part is already set).
These fields are contained in the SUBFRM-Series, that is within FRM-Orden.
I'll appreciate much your help.
Thanks in advance.