C
Corey-g via AccessMonster.com
Hi All,
I am trying to build a main form, that will have a tab control and 2 pages
each with a subform (the easy part) . I have this already, but I have 2
seperate forms and 2 query's for the tab control pages. I figured this is
not the best way - if I had to make a change, I have to do it twice - I'd
rather figure out how to build it to reuse them. And then I may be able to
apply that to other forms still to come.
What I would like to do is:
Have one query, and one form as the subform for both tab pages, and have it
filter based on which page it's one.
So the structure I'm working with is like so:
Items table - item_id (pk), part number, qty, channel_id
Channel type table - channel_id (pk), channel name (only 2 values 'A' & 'B')
So currently the 2 forms I have are identical except the recordsource, and
the 2 queries I have are identical except the criteria value for channel_id
('A' for one, 'B' for the other) but both select * from items where...
Anyone able to point me in the right direction?
thanks,
Corey
I am trying to build a main form, that will have a tab control and 2 pages
each with a subform (the easy part) . I have this already, but I have 2
seperate forms and 2 query's for the tab control pages. I figured this is
not the best way - if I had to make a change, I have to do it twice - I'd
rather figure out how to build it to reuse them. And then I may be able to
apply that to other forms still to come.
What I would like to do is:
Have one query, and one form as the subform for both tab pages, and have it
filter based on which page it's one.
So the structure I'm working with is like so:
Items table - item_id (pk), part number, qty, channel_id
Channel type table - channel_id (pk), channel name (only 2 values 'A' & 'B')
So currently the 2 forms I have are identical except the recordsource, and
the 2 queries I have are identical except the criteria value for channel_id
('A' for one, 'B' for the other) but both select * from items where...
Anyone able to point me in the right direction?
thanks,
Corey