Results 1 to 4 of 4

Thread: [RESOLVED] Best approach to Update a Database?

  1. #1

    Thread Starter
    Lively Member RichardKnox's Avatar
    Join Date
    Jul 2009
    Location
    Southern Michigan
    Posts
    89

    Resolved [RESOLVED] Best approach to Update a Database?

    Hello,

    I am writing a program to assist Paramedic students in learning the Drugs that they have to know in order to pass their classes. I have created an Access database to hold all the information on these drugs, but not every student that will use this program will need to learn all the drugs contained within this database.

    Right now I have 43 drugs in the database and still growing.

    What I want to do is to present to the student the drugs and have them say "Y" or "N" as to whether its on their required list to learn. That way they only work on the ones that they need to.

    I thought about presenting a list of about 15 drugs per page and have them select or deselect the ones they need to learn. But, I am uncertain how to do this. I know how to present one drug at a time, but once the database gets larger, that could take some time for them to work through.

    Any suggestion and direction as to the best way to do this, would be greatly welcomed.

    Thanks,

    Richard

  2. #2
    Frenzied Member mickey_pt's Avatar
    Join Date
    Sep 2006
    Location
    Corner of the Europe :)
    Posts
    1,959

    Re: Best approach to Update a Database?

    I think the best way it's to use a datagridview with two columns, the first one shows the drug, the second will be a checkboxcolumn, to set if the student will need the drug in the list to learn...

    Rate People That Helped You
    Mark Thread Resolved When Resolved

  3. #3
    Frenzied Member CoachBarker's Avatar
    Join Date
    Aug 2007
    Location
    Central NY State
    Posts
    1,121

    Re: Best approach to Update a Database?

    Even simpler use a checkedListbox, let them select all the drugs they need to study then do a for each loop on the checked items to populate the required drugs information into a textbox that they can navigate back and forth through.
    Thanks
    CoachBarker

    Code Bank Contribution
    Login/Manage Users/Navigate Records
    VB.Net | C#

    Helpful Links: VB.net Tutorial | C Sharp Tutorial | SQL Basics

  4. #4
    Fanatic Member
    Join Date
    Jun 2008
    Location
    Portland, OR, USA
    Posts
    659

    Re: Best approach to Update a Database?

    Is it possible to categorize the drugs in the database?

    I dont' know much about paramedic training, but would the students be needing to access certain categories of drugs? Say "Pain Management" vs "Re-start-your-heart" drugs (I am sure there is a medical term for the latter)?

    If so, you could add a Drug category table to help students narrow their search down when. Then just put some type of category selection mechanism above your DGV or CheckedListBox which would filter the contents of said DGV or checkedListBox by category.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width