I am trying to create a invoice and within the invoice I want to be able to
have a drop down list of my customers to choose from within the form. I have
tried different things and none of them work. Anyone have an easy solution? I
do have it linked to by query and I get a drop down box with my query, but
when I choose the person it only puts in the person's first name and not the
rest.
I also am trying to use a subform but that is not working either. Any
suggestions would be great!
An invoice would typically be produced using a Report - the *LAST* step of
your database development process. It really sounds like you're mixing tables,
forms, queries and reports all together in a jumble, hence the difficulty!
Get the Tables designed, properly related, and normalized first.
Then get your data entry Forms developed to populate the tables. This is where
you'll use combo boxes and other data management tools.
Then create a Query linking all the tables together to provide the data needed
for the Report.
Then - *AFTER* you have all this done! - start work on your invoice report.
The invoice table should not contain the customer name (first *or* last, but
rather the unique CustomerID. You'ld *display* the full name in the combo but
store the ID on the form; the invoice report would be based on a query joining
the invoice table to the customer table by CustomerID in order to pull in the
first name, last name, and any other specific information.
You might want to look at some of these resources:
Jeff Conrad's resources page:
http://www.accessmvp.com/JConrad/accessjunkie/resources.html
The Access Web resources page:
http://www.mvps.org/access/resources/index.html
Roger Carlson's tutorials, samples and tips:
http://www.rogersaccesslibrary.com/
A free tutorial written by Crystal:
http://allenbrowne.com/casu-22.html
A video how-to series by Crystal:
http://www.YouTube.com/user/LearnAccessByCrystal
MVP Allen Browne's tutorials:
http://allenbrowne.com/links.html#Tutorials