"Neil" <(E-Mail Removed)> wrote in message
news

3745FC9-478A-4DCC-8FEB-(E-Mail Removed)...
> The lookup is supposed to retrieve the value of the field called
> SerialNumber
> (this is actually a text field as it can contain letters, and is not
> sequential)
>
> I need to do this because at a certain point in the application I need to
> know the serial number of the last component worked on.
>
> I can't 'D-Max' the serial number field as there may be a greater serial
> numbered component already entered into the database, so my idea was to
> use
> DMax to obtain the ID field (an Access Autonumbering field) and then use
> this
> as a parameter in a Dlookup to obtain the value in the serial number field
> of
> the last record in the table.
>
> Have I made something that should be simple far too complicated?
No, it was my mistake. For some readon I thought you were looking up ID.
Tom Lake