Another way to do this is to make the ID field in the record source query
column 2 (with the name of the badge in the first column), & set the bound
column to 2. Leave the number of columns to display at 1, so the 2nd column
is not shown at all. This will also force the form to limit selections to
the items in your drop down list (populated from your Merit Badge's table).
One little thing I like to do is set the query to sort ascending on my
displayed text (merit badge names, in this case). Otherwise, the order
usually follows the order the items were entered into the table.
------------------------------
Shay B. | ShayBee.com <http://www.shaybee.com/> | shaybee.deviantart.com | A
Writer's Guide to Web Building <http://writerswebbuilding.blogspot.com/>
------------------------------
On Wed, Aug 27, 2008 at 2:58 PM, Peter Hoogenboom <phoogenb@hotmail.com>wrote:
> Hi adellinger,
>
> You can create the combo box you want by defining its row source to
> include the MeritbadgeID and MeritbadgeName. Then, set the
> BoundColumn to 1. That means the combo box's value property is bound
> to the MeritbadgeID column. THen, set the ColumnWidths property to
> 0". That will hide the first column, so users only see the second
> one.
>
> Tada!
>
> Hope that helps,
>
> Peter
>
> --- In MS_Access_Professionals@yahoogroups.com<MS_Access_Professionals%40yahoogroups.com>,
> "adellinger01"
> <adellinger01@...> wrote:
> >
> > Hello - first off I have just joined this group! What a great
> > resource. Thank you!
> > I am new to Access and am running 2007.
> > I have created a database with 3 tables (contact, meritbadge, and a
> > join table)
> > ContactID - primary key
> > MeritbadgeID - primary key
> > The join table is linked to ContactID & MertibadgeID w/ one-to-many
> > relationship as to allow each person to be linked to more than one
> > meritbadge.
> > What I am trying to do is create a Form where I can select each
> > meritbadge from a combo box and have it entered into the joined
> table
> > fields linking the contactID to the meritbadgeID.
> > I hope this makes sense.
> > I can currently go into my join table in datasheet view and add
> > contactID and meritbadgeID numbers to test and successfully print a
> > report which lists for instances : First Aide w/ 7 people
> associated
> > with that.
> > I just want to create a better form for entering data using the
> names
> > of the merit badges rather than ID numbers.
> > Thank you!
>
[Non-text portions of this message have been removed]