J
JASPNZ
Here is my problem……..
I have 3 tables.
1. Customers (i.e. Air New Zealand, Westpac etc)
2. Os Type (i.e AIX, Solaris)
3. Servers (This table holds the customer number from (1) and
the Os Type Number from (2) (i.e Os Type Number 1 = AIX, 2 = Solaris etc.
What I want is a form/Sub form where the records shown in the sub from are
filtered by whatever I select from two Combo Boxes in the main form. So for
example, in Combo 1 I might select a customer of “Air New Zealand†and in
Combo 2 an Os Type of “AIXâ€.
So, without stating the obvious, what I want to see in the sub form results
is all servers for Air New Zealand which are AIX.
I initially created my form and subform with just Combo 1 which just filters
the subform to show all the servers for Air New Zealand regardless of Os
Type. This works fine. When I change the customer in Combo 1 the results in
the subform change accordingly to only show the records relevant to that
customer.
I then thought that if I added another Combo box (i.e (2)) to the main form
which was for the Os Type, I could then further filter the form to only show
those records for whatever I select in both Combo’s 1 and 2. i.e All Servers
for Air New Zealand which are AIX.
The first Combo ie. Customer works but nothing happens when I select Combo
2. And I know I have two records in the Table Servers where the customer for
both is Air New Zealand but the Os Type is AIX for one and Solaris for the
other.
I should mention that I use Auto Numbers for Customer Number and Os Type not
Text. A separate field in each table holds a separate description of what the
auto number means i.e Autonumber 1 = Air New Zealand. I have created my
Relationships between the tables i.e One to Many for Customers >> Servers and
Os Type >> Servers.
I thought the problem would be that I need to define the “Linkchildfieldsâ€
and LinkMasterfields. But for some reason when I try to add another linking
field (i.e Combo 2), I cannot see the fields. I only am able to see the
fields from Combo 1.
I hope all the above makes sense.
I would really appreciate any suggestions to get this working. Many thanks
I have 3 tables.
1. Customers (i.e. Air New Zealand, Westpac etc)
2. Os Type (i.e AIX, Solaris)
3. Servers (This table holds the customer number from (1) and
the Os Type Number from (2) (i.e Os Type Number 1 = AIX, 2 = Solaris etc.
What I want is a form/Sub form where the records shown in the sub from are
filtered by whatever I select from two Combo Boxes in the main form. So for
example, in Combo 1 I might select a customer of “Air New Zealand†and in
Combo 2 an Os Type of “AIXâ€.
So, without stating the obvious, what I want to see in the sub form results
is all servers for Air New Zealand which are AIX.
I initially created my form and subform with just Combo 1 which just filters
the subform to show all the servers for Air New Zealand regardless of Os
Type. This works fine. When I change the customer in Combo 1 the results in
the subform change accordingly to only show the records relevant to that
customer.
I then thought that if I added another Combo box (i.e (2)) to the main form
which was for the Os Type, I could then further filter the form to only show
those records for whatever I select in both Combo’s 1 and 2. i.e All Servers
for Air New Zealand which are AIX.
The first Combo ie. Customer works but nothing happens when I select Combo
2. And I know I have two records in the Table Servers where the customer for
both is Air New Zealand but the Os Type is AIX for one and Solaris for the
other.
I should mention that I use Auto Numbers for Customer Number and Os Type not
Text. A separate field in each table holds a separate description of what the
auto number means i.e Autonumber 1 = Air New Zealand. I have created my
Relationships between the tables i.e One to Many for Customers >> Servers and
Os Type >> Servers.
I thought the problem would be that I need to define the “Linkchildfieldsâ€
and LinkMasterfields. But for some reason when I try to add another linking
field (i.e Combo 2), I cannot see the fields. I only am able to see the
fields from Combo 1.
I hope all the above makes sense.
I would really appreciate any suggestions to get this working. Many thanks