Thanks for the help Ofer, but I get an error.
The form that I want to put the info in is called Loads and the popup I want
is called Customers. I set the double click event in Loads.customerID as
follows
Forms![Customers]![CustomerID] = Me.CustomerID
Did I screw up? The customers form is a pre-existing one, do I need to
change it?
The error I get is Run time error 2450. Microsoft Access can't find the form
'Customers' referred to in a macro or VB code.
Please help.
Mike
> On the double click event of the customer list add the code
> Forms![FormName]![CustomerName] = me.customerlistname
[quoted text clipped - 13 lines]
> > Thanks
> > Mike
Ofer - 05 May 2005 20:31 GMT
It should be as follow
Put it in the event of on click of the customers list in your pop up form,
that will return the value from the list in your pop up form called customer,
to your field customer id in the main form called loads.
Forms![Loads]![CustomerID] = Me.CustomerID
(that meen that main form called loads, the field on the main form that
suppose to get value called CustomerID , and the list on the pop up called
CustomerID)
I hope I understood corectly.
> Thanks for the help Ofer, but I get an error.
>
[quoted text clipped - 34 lines]
> > > Thanks
> > > Mike
Mike - 06 May 2005 19:55 GMT
Thanks a bunch I was trying to put the code on the loads form. I need only
to open the customer form from there.
> It should be as follow
> Put it in the event of on click of the customers list in your pop up form,
[quoted text clipped - 45 lines]
> > > > Thanks
> > > > Mike