Hi
i have a problem with sending data from a ComboBox to 10 columns at the same row. every time of combobox selection
using a Button ,
any one can help plz.
Well your problem has been that you have failed to clearly express your problem!
Now you have made clearer your intent.
Your data base is clearly not designed to best and accepted data base design practices, since you have an non-normalized structure where an entity (Medication) is repeated in any row. Briefly, I can cite two compelling reasons against this design: 1) a patient can have fewer or more than 10 meds in one visit, I would surmise, 2) when it comes to performing queries on this data, having multiple Med fiedsa will be a coding nightmare.
I strongly suggest a different db table design.
Skip,
[sub]
Just traded in my OLD subtlety...
for a NUance![/sub]
OK!
i have a questions plz.
did you have a complete conclusion about the idea.?
and what the ID in the 1st column refers to?
don't worry about the queries
What happens when the patient has eleven or twelve meds in a visit?
You stated, “don't worry about the queries“ but dollars to donuts, the question will be raised, about the number of meds and the frequency of each/any med use. Maybe not right away, but eventually someone will raise the question, and you will be asking how to make sense out of your design for the purpose of such a query, which will be made much more difficult with your “data base” design.
But lets say you go with the current design.
If you have fewer than 10, how do you indicate, I’m done?
If you have more than 10, how do you handle that?
Skip,
[sub]
Just traded in my OLD subtlety...
for a NUance![/sub]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.