Page 1 of 2 12 LastLast
Results 1 to 40 of 49

Thread: Please please help

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Dec 2004
    Posts
    27

    Please please help

    were in a group project in vb 6 here in college and we are very very stuck in our hospital program, that we are making. we cant seem to get simple things to work

    like:

    adding searching and deleting records from a database.

    and looking up medical history.

    if any of you would look at it and point us in the right direction that would be super....its 2am here and it has to be in for 12pm (a few hours away)

    I can put it on a server?

  2. #2
    Frenzied Member David.Poundall's Avatar
    Join Date
    Sep 2002
    Location
    Robin Hood Land
    Posts
    1,457

    Re: Please please help

    And the database type is what? Jet, MySQL, Oracle ???
    David

    Learn the Rules so that you know how to break them properly.

    Printing dll dBTools MZTools Winsock API WinsockVB More Winsock SGrid2 MSChart Mail2Web

    If you have found this thread useful then read this

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Dec 2004
    Posts
    27

    Re: Please please help

    MS access

  4. #4
    Fanatic Member ALL's Avatar
    Join Date
    Jul 2004
    Location
    192.168.1.1
    Posts
    711

    Re: Please please help

    you should zip you code then attach it to your post so someone can look at it
    Please support one of my projects?
    TKForums.com

    Web Forum
    JavaScript Wiki
    ________________________
    If somone helps you, please rate their post, by clicking the to rate their post

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Dec 2004
    Posts
    27

    Re: Please please help

    will do, its coming now....thanks so much

  6. #6

    Thread Starter
    Junior Member
    Join Date
    Dec 2004
    Posts
    27

    Re: Please please help

    Here it is

    the brief is here


    any help at all would be so greatly appreciated, decides basically if we stay in uni this year!!!!

    http://www.infj.ulst.ac.uk/~cnugent/...ssignment2.pdf
    Attached Files Attached Files

  7. #7
    Frenzied Member David.Poundall's Avatar
    Join Date
    Sep 2002
    Location
    Robin Hood Land
    Posts
    1,457

    Re: Please please help

    Guys - you can't be serious. What have you been doing all year?
    David

    Learn the Rules so that you know how to break them properly.

    Printing dll dBTools MZTools Winsock API WinsockVB More Winsock SGrid2 MSChart Mail2Web

    If you have found this thread useful then read this

  8. #8

    Thread Starter
    Junior Member
    Join Date
    Dec 2004
    Posts
    27

    Re: Please please help

    snowed under with other assignments and got screwed over so many times by other people.

    down to time management and we have a lot to learn :S

  9. #9
    Frenzied Member David.Poundall's Avatar
    Join Date
    Sep 2002
    Location
    Robin Hood Land
    Posts
    1,457

    Re: Please please help

    Given your timescales - why not switch to an access project instead.
    David

    Learn the Rules so that you know how to break them properly.

    Printing dll dBTools MZTools Winsock API WinsockVB More Winsock SGrid2 MSChart Mail2Web

    If you have found this thread useful then read this

  10. #10

    Thread Starter
    Junior Member
    Join Date
    Dec 2004
    Posts
    27

    Re: Please please help

    we have no choice, we have to do

    ERD diagram (done)
    Access (done)
    VB (not done)
    ASP link (working on)



    this forum ahs been the last chance for us in getting help, there is no one anywhere else on.

  11. #11

    Thread Starter
    Junior Member
    Join Date
    Dec 2004
    Posts
    27

    Re: Please please help

    can anytone please help with anything?

  12. #12
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704

    Re: Please please help

    The VB part of the assignment is worth 50 points, I'd work on that first.

    Easiest thing to do is to use a datagrid for listing, entering and deleting patients. Of course, its been so long since I've used vb6, i couldn't tell you where to even begin anymore.

    scroll down to the 'Doing Databases' section

    http://www.theopensourcery.com/vb08tut.htm

  13. #13
    Frenzied Member David.Poundall's Avatar
    Join Date
    Sep 2002
    Location
    Robin Hood Land
    Posts
    1,457

    Re: Please please help

    Well your screens look OK, but you are relying on bound controls everywhere. It is not easy to follow any program flow with that I am afraid.

    Also, I was amazed that there was not a single module in your project - just forms.

    A hint or two and a good solid answer on a sticky point - yep, no problem - this is the place. But a project write is asking a lot. Sorry guys, Its 2.17AM my end and there is no way I could start it let alone fit it in. I am almost asleep at the keyboard now.

    I wish you luck - you are going to need it.
    David

    Learn the Rules so that you know how to break them properly.

    Printing dll dBTools MZTools Winsock API WinsockVB More Winsock SGrid2 MSChart Mail2Web

    If you have found this thread useful then read this

  14. #14

    Thread Starter
    Junior Member
    Join Date
    Dec 2004
    Posts
    27

    Re: Please please help

    thanks for the reply, the VB is what we are really stuck at.

    would you be able to take a look at what we have uploaded and tell us what is wrong with our code to add and search

    ?

  15. #15

    Thread Starter
    Junior Member
    Join Date
    Dec 2004
    Posts
    27

    Re: Please please help

    we will pay pal money!

  16. #16
    Frenzied Member David.Poundall's Avatar
    Join Date
    Sep 2002
    Location
    Robin Hood Land
    Posts
    1,457

    Re: Please please help

    Whats' your password
    David

    Learn the Rules so that you know how to break them properly.

    Printing dll dBTools MZTools Winsock API WinsockVB More Winsock SGrid2 MSChart Mail2Web

    If you have found this thread useful then read this

  17. #17
    Frenzied Member David.Poundall's Avatar
    Join Date
    Sep 2002
    Location
    Robin Hood Land
    Posts
    1,457

    Re: Please please help

    and where is it kicking in? From the database or the code itself?
    David

    Learn the Rules so that you know how to break them properly.

    Printing dll dBTools MZTools Winsock API WinsockVB More Winsock SGrid2 MSChart Mail2Web

    If you have found this thread useful then read this

  18. #18

    Thread Starter
    Junior Member
    Join Date
    Dec 2004
    Posts
    27

    Re: Please please help

    doctor

  19. #19

    Thread Starter
    Junior Member
    Join Date
    Dec 2004
    Posts
    27

    Re: Please please help

    what do you mean by your last post?

  20. #20
    Frenzied Member David.Poundall's Avatar
    Join Date
    Sep 2002
    Location
    Robin Hood Land
    Posts
    1,457

    Re: Please please help

    No problem - scratch my last post - i am in
    David

    Learn the Rules so that you know how to break them properly.

    Printing dll dBTools MZTools Winsock API WinsockVB More Winsock SGrid2 MSChart Mail2Web

    If you have found this thread useful then read this

  21. #21

    Thread Starter
    Junior Member
    Join Date
    Dec 2004
    Posts
    27

    Re: Please please help

    you are our hero

  22. #22
    Frenzied Member David.Poundall's Avatar
    Join Date
    Sep 2002
    Location
    Robin Hood Land
    Posts
    1,457

    Re: Please please help

    OK - i can see your problem - give me 10 minutes
    David

    Learn the Rules so that you know how to break them properly.

    Printing dll dBTools MZTools Winsock API WinsockVB More Winsock SGrid2 MSChart Mail2Web

    If you have found this thread useful then read this

  23. #23
    Frenzied Member David.Poundall's Avatar
    Join Date
    Sep 2002
    Location
    Robin Hood Land
    Posts
    1,457

    Re: Please please help

    OK - do this with me - remove all of the index references in the textboxes on both the Add form and the Delete form
    Then it should work.

    Just trying it my end
    David

    Learn the Rules so that you know how to break them properly.

    Printing dll dBTools MZTools Winsock API WinsockVB More Winsock SGrid2 MSChart Mail2Web

    If you have found this thread useful then read this

  24. #24
    Frenzied Member David.Poundall's Avatar
    Join Date
    Sep 2002
    Location
    Robin Hood Land
    Posts
    1,457

    Re: Please please help

    just enter a space or delete the number that is there
    David

    Learn the Rules so that you know how to break them properly.

    Printing dll dBTools MZTools Winsock API WinsockVB More Winsock SGrid2 MSChart Mail2Web

    If you have found this thread useful then read this

  25. #25

    Thread Starter
    Junior Member
    Join Date
    Dec 2004
    Posts
    27

    Re: Please please help

    doing it now

  26. #26

    Thread Starter
    Junior Member
    Join Date
    Dec 2004
    Posts
    27

    Re: Please please help

    removed all index references from both

  27. #27
    Frenzied Member David.Poundall's Avatar
    Join Date
    Sep 2002
    Location
    Robin Hood Land
    Posts
    1,457

    Re: Please please help

    OK - that free's up the forms so they should do the job. I have just had a look at your database and the relationships are huge.

    When you try to add a record now, one of the relationships is stopping you from doing that. As you built the databse I am afraid that one is yours to figure. But your add and delete forms should now work. I will re-post so you can see what I did.

    Don't use my project as i had to point the data objects to a different directory to get at the database.

    EDIT - Typos and attachment
    Last edited by David.Poundall; Dec 8th, 2004 at 09:43 PM.
    David

    Learn the Rules so that you know how to break them properly.

    Printing dll dBTools MZTools Winsock API WinsockVB More Winsock SGrid2 MSChart Mail2Web

    If you have found this thread useful then read this

  28. #28

    Thread Starter
    Junior Member
    Join Date
    Dec 2004
    Posts
    27

    Re: Please please help

    runtime error 3265

    when adding

  29. #29
    Frenzied Member David.Poundall's Avatar
    Join Date
    Sep 2002
    Location
    Robin Hood Land
    Posts
    1,457

    Re: Please please help

    You get the same problem when trying to delete. To many interrelated tables. You may need to release some of the relationships in order to get add and delete to work. But then things may not work as you intended.

    That's all I can do for you guys.

    Good luck and goodnight.
    David

    Learn the Rules so that you know how to break them properly.

    Printing dll dBTools MZTools Winsock API WinsockVB More Winsock SGrid2 MSChart Mail2Web

    If you have found this thread useful then read this

  30. #30

    Thread Starter
    Junior Member
    Join Date
    Dec 2004
    Posts
    27

    Re: Please please help

    thanks for the help, not much further forward but well let you know when were on the dole

  31. #31
    Frenzied Member David.Poundall's Avatar
    Join Date
    Sep 2002
    Location
    Robin Hood Land
    Posts
    1,457

    Re: Please please help

    Perhaps you need to think about a change in career direction.

    On the face of it it may look like you are close to a solution but the two parts don't hang together. your best bet is to find the guy that did the database and get him to change the table structure around to match your code.

    The database being the more complex of the two codes.
    David

    Learn the Rules so that you know how to break them properly.

    Printing dll dBTools MZTools Winsock API WinsockVB More Winsock SGrid2 MSChart Mail2Web

    If you have found this thread useful then read this

  32. #32

    Thread Starter
    Junior Member
    Join Date
    Dec 2004
    Posts
    27

    Re: Please please help

    oh no, i just enjoy making sites

  33. #33

    Thread Starter
    Junior Member
    Join Date
    Dec 2004
    Posts
    27

    Re: Please please help

    what should we get rid of? ?!?

  34. #34
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704

    Re: Please please help

    I took a look at your db model, and it was definitely far too much...

    With the diagram pic I have attached, you have the db structure you need to accomplish the assignment.

    I'm looking into to some other parts of the db, mainly the forms, im not sure why there are some in the access db itself (perhaps the guy was just testing it)
    Attached Images Attached Images  

  35. #35

    Thread Starter
    Junior Member
    Join Date
    Dec 2004
    Posts
    27

    Re: Please please help

    what now?

  36. #36
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704

    Re: Please please help

    Well, first off- I have a revised model, don't worry too much on the database, ill upload it once im done revising it.

    Here's a few questions though:

    true or false...

    1) An appointment can be made because of one or more ailments?

    2) An appointment can have one or more results... ?

    I assume true to both.

    There is no need for a patient history table, because really all you are going to do is check the appointment table for anytime that patient made an appointment. With that data, you will be able to surmise what ailments there were, and/or what results (refered, given a prescription, etc).

    Attached is a pic of what I believe is the final model of the database.

    ONE MORE QUESTION: Does your assignment requires that the database has forms, or just the VB6 app, or do both need to have forms (for instance, if you open up the database and in the forms, you will see Patient... does that need to be there?)
    Attached Images Attached Images  
    Last edited by nemaroller; Dec 8th, 2004 at 11:45 PM.

  37. #37

    Thread Starter
    Junior Member
    Join Date
    Dec 2004
    Posts
    27

    Re: Please please help

    We have appended our relationships to the specifications in your attatchment. We are attatching the new vb, can you see if this is correct as you obviously have much more of an insight than us.
    Attached Files Attached Files

  38. #38
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704

    Re: Please please help

    >(post just to notify you) see post #36

  39. #39

    Thread Starter
    Junior Member
    Join Date
    Dec 2004
    Posts
    27

    Re: Please please help

    we are really stuck if we can keep it very basic that would be best, i dont think we have time to add more stuff :S

  40. #40
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704

    Re: Please please help

    Well...
    here's your command decision then.

    Your project requires you be able to append one or more ailments, and one or more results to any one appointment.

    Like I said, I have the database side finished except for one question...

    DOes the database need to have forms inside of it? Yours did... I think maybe only so the person who created it could test his relationships... I didn't see anything in the project requirement that stated so.

    If the database doesn't need its own internal forms, then I can upload the db to
    you right now, and start helping you with the vb side.

    I've been through this once before long ago myself, so I know where you're coming from.

Page 1 of 2 12 LastLast

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