B
BrookieOU
I am trying to do a form for billing where a person can enter a PO# and the
Project Name will automatically fill-in. I know to use AutoLoookup, but I
can't figure out how to do it and have the tables set up properly. I've read
that for
the AutoLookup to work the join field cannot be a Primary Key and it can't
be set to "No Duplicates". I can't wrap my head around this and the proper
way to set up tables. Here is how I currently have stuff set-up.
tblEmployees: EmployeeID (primary), First Name, Last Name
tblProjects: ProjectID (primary), PO#, Project Name
tblProjectBilling: BillingID (primary), EmployeeID (foreign), ProjectID
(foreign), invoice #, invoice amount
I would like to set up a form where the user can enter the PO# and it will
automatically enter the corresponding Project Name. The way I tried to do it
(and it didn't work) was:
I created a qryProjectBillingExtended and placed all of the fields from
tblProjectBilling and the PO# and Project Name from tblProjects and First
Name and Last Name from tblEmployees. But, as I stated earlier, it's not
filling in the blanks when I enter the PO#.
I've read all about AutoLookup and tried and tried and just can't figure out
how to fix it. Any help please!!! I've been trying for two weeks on my own
now and just can't figure out how to do it and I know it can't be that
difficult. Maybe I'm just
overthinking it.
Thanks,
Brooke
Project Name will automatically fill-in. I know to use AutoLoookup, but I
can't figure out how to do it and have the tables set up properly. I've read
that for
the AutoLookup to work the join field cannot be a Primary Key and it can't
be set to "No Duplicates". I can't wrap my head around this and the proper
way to set up tables. Here is how I currently have stuff set-up.
tblEmployees: EmployeeID (primary), First Name, Last Name
tblProjects: ProjectID (primary), PO#, Project Name
tblProjectBilling: BillingID (primary), EmployeeID (foreign), ProjectID
(foreign), invoice #, invoice amount
I would like to set up a form where the user can enter the PO# and it will
automatically enter the corresponding Project Name. The way I tried to do it
(and it didn't work) was:
I created a qryProjectBillingExtended and placed all of the fields from
tblProjectBilling and the PO# and Project Name from tblProjects and First
Name and Last Name from tblEmployees. But, as I stated earlier, it's not
filling in the blanks when I enter the PO#.
I've read all about AutoLookup and tried and tried and just can't figure out
how to fix it. Any help please!!! I've been trying for two weeks on my own
now and just can't figure out how to do it and I know it can't be that
difficult. Maybe I'm just
overthinking it.
Thanks,
Brooke