M
Mark J Kubicki
I want the default value for a text box to be selected from a table where
the record meets certain criteria:
manufacturer = the form's manufacturer field
catalogueNo = the form's catalogueNo field
and of those fields that do match these criteria, the default value should
be the one with the most recent date
the entered value is the Cost field of the record that matches...
so I enter in the default value as
select (
![Cost])
where (max(
![Date]))
and (
![manufacturer] = me.manufacturer.value
and (
![catalogueNo] = me.catalogueNo.value
but this is not correct
would someone (please) correct this for me?
thanks in advance,
mark
the record meets certain criteria:
manufacturer = the form's manufacturer field
catalogueNo = the form's catalogueNo field
and of those fields that do match these criteria, the default value should
be the one with the most recent date
the entered value is the Cost field of the record that matches...
so I enter in the default value as
select (
where (max(
and (
and (
but this is not correct
would someone (please) correct this for me?
thanks in advance,
mark