assuming that you want to display data from only one record in the query,
you can use a DLookup() function to return the value you want from the field
in the query. either set criteria in the query so it returns only one
record, or set criteria in the function so that it finds a specific record
to return the value from. if you've never used the DLookup() function,
recommend that you read up on it in Access Help so you'll understand how it
works.
hth
> Hi,
>
[quoted text clipped - 5 lines]
>
> I will place the code in the on_load property.