
28-Jul-2006, 08:39 AM
|  | Guest | | | | | | | | | | Forms and/or Reports Question My database lists the 700 employees in a particular division. There are 48
organizations within that division and an employee could support one, two,
three, or four organizations. I have set up an org table for the 48 orgs and
created a roster table and form using the orgs table as four separate Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/13748-forms-and-or-reports-question.htmlReference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13748
dropdown boxes to be able to choose choose the one, two, three, or four orgs
supported for each employee. All of this works fine. Problem: I would like
to add a field on the roster form or roster report that captures the one,
two, three, or four selections made for the orgs. However, all I get is the
ID numbers and not the actual orgs that were selected. I am using control
=[Org1]&[Org2]...etc. I have tried changing column counts, bound column, and
even tried changing fields from numbers to text and text to numbers. Any
help would be appreciated.
Do share your immediate thoughts or reactions on this issue? We value your views! Login Now! or Sign Up Today! to share your views with us.. Gurfateh! | 
28-Jul-2006, 08:39 AM
| ![Arvin Meyer [MVP]'s Avatar](http://www.sikhphilosophy.net/images/avatars/noavatar.gif) | Guest | | | | | | | | | | Re: Forms and/or Reports Question Your design is not relational. You need 3 tables, not 2. Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13748
tblEmployees
EmployeeID
LastName
etc.
tblOrganizations
OrganizationID
OrganizationName
etc.
tblEmployeeOrgs
EmployeeID
OrganizationID
Now your forms will be Mainform/Subform design and can be view either as the
Employee with Organizations. or as an Organization with Employees.
The suborm will have a combo box (dropdown) with 2 or more columns, the
first of which will be the ID value and its width should be set to 0 (zero)
to hide it.
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads http://www.datastrat.com http://www.mvps.org/access
"TAWise" wrote in message
news:06DB0EA0-288A-4D56-99D9-04BA3A6DD81B@microsoft.com...
> My database lists the 700 employees in a particular division. There are
> 48
> organizations within that division and an employee could support one, two,
> three, or four organizations. I have set up an org table for the 48 orgs
> and
> created a roster table and form using the orgs table as four separate
> dropdown boxes to be able to choose choose the one, two, three, or four
> orgs
> supported for each employee. All of this works fine. Problem: I would
> like
> to add a field on the roster form or roster report that captures the one,
> two, three, or four selections made for the orgs. However, all I get is
> the
> ID numbers and not the actual orgs that were selected. I am using control
> =[Org1]&[Org2]...etc. I have tried changing column counts, bound column,
> and
> even tried changing fields from numbers to text and text to numbers. Any Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13748
> help would be appreciated. | 
28-Jul-2006, 08:39 AM
|  | Guest | | | | | | | | | | Re: Forms and/or Reports Question Thank you. I will re-design.
"Arvin Meyer [MVP]" wrote:
> Your design is not relational. You need 3 tables, not 2.
>
> tblEmployees Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13748
> EmployeeID
> LastName
> etc.
>
> tblOrganizations
> OrganizationID
> OrganizationName
> etc.
>
> tblEmployeeOrgs
> EmployeeID
> OrganizationID
>
> Now your forms will be Mainform/Subform design and can be view either as the
> Employee with Organizations. or as an Organization with Employees.
>
> The suborm will have a combo box (dropdown) with 2 or more columns, the
> first of which will be the ID value and its width should be set to 0 (zero)
> to hide it.
> --
> Arvin Meyer, MCP, MVP
> Microsoft Access
> Free Access downloads
> http://www.datastrat.com Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13748
> http://www.mvps.org/access
>
>
> "TAWise" wrote in message
> news:06DB0EA0-288A-4D56-99D9-04BA3A6DD81B@microsoft.com...
> > My database lists the 700 employees in a particular division. There are
> > 48
> > organizations within that division and an employee could support one, two,
> > three, or four organizations. I have set up an org table for the 48 orgs
> > and
> > created a roster table and form using the orgs table as four separate
> > dropdown boxes to be able to choose choose the one, two, three, or four
> > orgs
> > supported for each employee. All of this works fine. Problem: I would
> > like
> > to add a field on the roster form or roster report that captures the one,
> > two, three, or four selections made for the orgs. However, all I get is
> > the
> > ID numbers and not the actual orgs that were selected. I am using control
> > =[Org1]&[Org2]...etc. I have tried changing column counts, bound column,
> > and
> > even tried changing fields from numbers to text and text to numbers. Any
> > help would be appreciated.
>
>
> | 
28-Jul-2006, 08:39 AM
|  | Guest | | | | | | | | | | RE: Forms and/or Reports Question I made the recommended changes, but I still have the same type of problem.
If an employee supports two or more orgs, the Organization Form with the
Employees subform only recognizes the first org that was selected for that
employee. It does not capture the additional orgs (2, 3, or 4) that were
selected for that employee. Also, I still cannot get a report to accept the Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13748
actual org numbers...it still will only give me the ID numbers.
Any advice is appreciated.
"TAWise" wrote:
> My database lists the 700 employees in a particular division. There are 48
> organizations within that division and an employee could support one, two,
> three, or four organizations. I have set up an org table for the 48 orgs and
> created a roster table and form using the orgs table as four separate
> dropdown boxes to be able to choose choose the one, two, three, or four orgs
> supported for each employee. All of this works fine. Problem: I would like
> to add a field on the roster form or roster report that captures the one,
> two, three, or four selections made for the orgs. However, all I get is the
> ID numbers and not the actual orgs that were selected. I am using control
> =[Org1]&[Org2]...etc. I have tried changing column counts, bound column, and
> even tried changing fields from numbers to text and text to numbers. Any
> help would be appreciated.Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13748 | 
28-Jul-2006, 08:40 AM
| ![Arvin Meyer [MVP]'s Avatar](http://www.sikhphilosophy.net/images/avatars/noavatar.gif) | Guest | | | | | | | | | | Re: Forms and/or Reports Question Use a query, to supply the values for the report.
In the join table, the one I identified as:
tblEmployeeOrgs
EmployeeID
OrganizationID
you need 1 record for each combination of Employee and Organization. There Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13748
is a many-to-many relationship between the 2 primary tables (which is the
reason you need the join table). I made a small demo that will show you how
it works and put it up on the Access MVP website: http://www.accessmvp.com/Arvin/ManyToMany.zip
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads http://www.datastrat.com http://www.mvps.org/access
"TAWise" wrote in message
news:0722228E-A570-4CEB-9CC6-8C7B2146EEEA@microsoft.com...
>I made the recommended changes, but I still have the same type of problem.
> If an employee supports two or more orgs, the Organization Form with the
> Employees subform only recognizes the first org that was selected for that
> employee. It does not capture the additional orgs (2, 3, or 4) that were
> selected for that employee. Also, I still cannot get a report to accept
> the
> actual org numbers...it still will only give me the ID numbers.
>
> Any advice is appreciated.
>
>
>
> "TAWise" wrote:
>
>> My database lists the 700 employees in a particular division. There are
>> 48
>> organizations within that division and an employee could support one,
>> two,
>> three, or four organizations. I have set up an org table for the 48 orgs
>> and
>> created a roster table and form using the orgs table as four separate
>> dropdown boxes to be able to choose choose the one, two, three, or four
>> orgs
>> supported for each employee. All of this works fine. Problem: I would
>> like
>> to add a field on the roster form or roster report that captures the one,
>> two, three, or four selections made for the orgs. However, all I get is
>> the
>> ID numbers and not the actual orgs that were selected. I am using
>> control
>> =[Org1]&[Org2]...etc. I have tried changing column counts, bound column,
>> and
>> even tried changing fields from numbers to text and text to numbers. Any Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13748
>> help would be appreciated. | 
28-Jul-2006, 08:40 AM
|  | Guest | | | | | | | | | | Re: Forms and/or Reports Question Thank you again for your assistance. I have made the necessary changes and
my database works like a charm and my sanity is restored.
"Arvin Meyer [MVP]" wrote:
> Use a query, to supply the values for the report.
>
> In the join table, the one I identified as:
>
> tblEmployeeOrgs
> EmployeeID
> OrganizationID
>
> you need 1 record for each combination of Employee and Organization. There
> is a many-to-many relationship between the 2 primary tables (which is the
> reason you need the join table). I made a small demo that will show you how
> it works and put it up on the Access MVP website:
>
> http://www.accessmvp.com/Arvin/ManyToMany.zip
> --
> Arvin Meyer, MCP, MVP Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13748
> Microsoft Access
> Free Access downloads
> http://www.datastrat.com
> http://www.mvps.org/access
>
> "TAWise" wrote in message
> news:0722228E-A570-4CEB-9CC6-8C7B2146EEEA@microsoft.com...
> >I made the recommended changes, but I still have the same type of problem.
> > If an employee supports two or more orgs, the Organization Form with the
> > Employees subform only recognizes the first org that was selected for that
> > employee. It does not capture the additional orgs (2, 3, or 4) that were
> > selected for that employee. Also, I still cannot get a report to accept
> > the
> > actual org numbers...it still will only give me the ID numbers.
> >
> > Any advice is appreciated.
> >
> >
> >
> > "TAWise" wrote:
> >
> >> My database lists the 700 employees in a particular division. There are
> >> 48
> >> organizations within that division and an employee could support one,
> >> two,
> >> three, or four organizations. I have set up an org table for the 48 orgs Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=13748
> >> and
> >> created a roster table and form using the orgs table as four separate
> >> dropdown boxes to be able to choose choose the one, two, three, or four
> >> orgs
> >> supported for each employee. All of this works fine. Problem: I would
> >> like
> >> to add a field on the roster form or roster report that captures the one,
> >> two, three, or four selections made for the orgs. However, all I get is
> >> the
> >> ID numbers and not the actual orgs that were selected. I am using
> >> control
> >> =[Org1]&[Org2]...etc. I have tried changing column counts, bound column,
> >> and
> >> even tried changing fields from numbers to text and text to numbers. Any
> >> help would be appreciated.
>
>
> | 
Support Us! Become a Promoter! | | Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh! | (View-All)
Members who have read this thread : 0
| | There are no names to display. | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Tools | Search | | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is On | | | | » Gurbani Jukebox | Listen to Gurbani while surfing SPN! | » Active Discussions | | | | | | | ਨਾਮਾ Today 06:37 AM 2 Replies, 53 Views | | | | | | | | | | | | | | | | | | | | | | | » Books You Should Read... | | | |