
December 20th, 2004, 10:14 PM
|
|
Registered User
|
|
Join Date: Nov 2004
Posts: 3
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Still in need -changing a subform based on combobox selection
Hi Lwells 
Sorry I did not reply - have been overwhelmed with many projects. In any case, what I have is a data entry system. I haven't crossed the bridge of displaying the data based on the combobox, however, just the entry of the data. The display of the data will have to be compiled (maybe a pivot formatted form?) and right now I am just trying to determine the based way to have the forms appear based on the selection. To give you some details, I have performance indicators (PI) - most of which are based on entries from patient data. I have setup a 'main form' with the combo box which allows the user to select the PI they are wanting to enter. This then calls a subform which contains two forms - subsubform1 for the patient specific clinical data, the other -subsubform2 (ssfrm2)- is percentages and counts of that data and other criteria based on the answers in subsubform1 (ssfrm1). (The ssfrm2 is not a 'count' per say of the ssfrm1 thus ssfrm2 cannot just have a query tallying the results on ssfrm1. It is hard to explain -so I hope this makes sense. In any case, I was going to have all 30 forms (yikes!) called as 'visible' when the selected PI (which would equal the subform) was selected, however, I am concerned about memory issues this may cause. Does this make sense?
Quote: | Originally Posted by lwells Hi kath007,
Yes it is possible, and yes it might be complex at the same time. But first, to get your first subform to display the records from your combobox selection, it will require that your subform be filtered by the selection made in your combobox. Or base your subform on a query that has a criteria based on what is selected in your combobox. Then after the combobox selection was made, requery your subform to display the selected records. As far as the two remaining subforms, the patient and question subforms, what is the relationship between those two forms and either the main form or subform? What criteria sets up the sql from your form. I think I understand that the sql will be based on what was selected in the main form combobox to get patient data, but I can't visualize the Yes/No fields being used as a filter for the questions subform unless I misunderstood and the question subform always has the same questions regardless of what is in the Yes/No fields. Last, when you say "unlike" data elements per "measure", what exactly does that mean?
lwells |
|