http://www.mvps.org/access/ Search under Dlookup and it
has a bunch of samples that should be of help...
sam
>-----Original Message-----
>I'm using a combo box for the cust number but I have no
>idea how to use a dlookup and I can't find anything
>useful in the help files.
>>-----Original Message-----
>>Yes. Use DLookUp functions (check the Help files for
>details).
>>
>>You should also consider a ComboBox for the customer
>numbers instead of a TextBox. With a ComboBox, you can
>ensure that only valid CustomerIDs will be
>entered/selected.
>>
>> ----- Doug wrote: -----
>>
>> I have created a table with my customer list. I
>want to
>> enter ni invoices in a form and when I type the
>customer
>> number, the name, city, etc automatically
>populates. Is
>> this possible?
>>
>> Thanks muchly,
>>
>> Doug
>>
>>.
>>
>.
>