Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms / May 2008

Tip: Looking for answers? Try searching our database.

Combo Box Problem in a Subform

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
maura - 29 May 2008 16:48 GMT
Here are my tables, and I am trying to create a combo box to look up the
values in tblStatusType... it's not working.

tblCustomer
custId (pk)
cfirst
clast
caddress
ccity
cstate
czip
cphone
ccell
cemail

tblCollection
collectionId (pk)
OpenDate
Notes
custId(fk)

tblCollectionStatus
collectionId (pk)
statusId (pk)
respondDate

tblStatusType
statusId (pk)
statusType

I have created a qryCollections (tblCollection; tblCollectionStatus;
tblStatusType) and I am basing a subform on the qryCollections. But I need a
Combo Box for the status type, so my users are only allowed to choose from
this list.

I don’t know if I have set up my tables wrong, but I was thinking that if I
created a table for StatusTypes then I could just add to this if I need to…
but my combo box will not work on the subform and I know it has to be bound,
but maybe I am not clear on where it needs to be bound… would it be back at
the tblStatusType or right to the qryCollections. Everytime I have tried
something different, it  changes the information within the table itself.

What am I doing wrong?
scubadiver - 29 May 2008 16:53 GMT
Should statusID be a FK in the 'collections status' table? You have given it
a PK.

> Here are my tables, and I am trying to create a combo box to look up the
> values in tblStatusType... it's not working.
[quoted text clipped - 39 lines]
>
> What am I doing wrong?
maura - 29 May 2008 17:11 GMT
Sorry about posting 2x, thought I was in one discussion group and posted to
another, then didn't think I did it right. I am at the point of rethinking
these tables. I thought if I used the combination of collectionId and
statusId for the tblCollectionStatus this together create a primary key for
the table.

> Should statusID be a FK in the 'collections status' table? You have given it
> a PK.
[quoted text clipped - 42 lines]
> >
> > What am I doing wrong?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.