I have a form with 4 grids, each connected to a table, we'll call them A,B,C and D. Table A and B are filtered to show only the data for a particular dataset. Clicking on table A will cause table C to be filtered to that data, and clicking on table B will further refine the filter for table C. Table D is filtered on the same dataset as table A, and clicking on table B will further filter the data. Confused yet? ![[dazed] [dazed] [dazed]](/data/assets/smilies/dazed.gif)
Here's what I need: I want to use views to populate my grids with so that the scroll bars work correctly on the grids and I can update the tables as I go. To contain these views I need a temporary database (I don't use databases with my program currently). My question is - how do I create views that will give me only the filtered data, and that will change as the filters change (which depends on which line of which grid they are sitting on). Short version - how do I create views that reflect the dynamic filters applied to the parent table? Should I do it programmaticly or with the view designer?
Thanks for you help - I'm sure this is about as clear as mud!
Eve
![[dazed] [dazed] [dazed]](/data/assets/smilies/dazed.gif)
Here's what I need: I want to use views to populate my grids with so that the scroll bars work correctly on the grids and I can update the tables as I go. To contain these views I need a temporary database (I don't use databases with my program currently). My question is - how do I create views that will give me only the filtered data, and that will change as the filters change (which depends on which line of which grid they are sitting on). Short version - how do I create views that reflect the dynamic filters applied to the parent table? Should I do it programmaticly or with the view designer?
Thanks for you help - I'm sure this is about as clear as mud!
Eve