Results 1 to 2 of 2

Thread: extracting data from fields in access onto vb forms

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2002
    Location
    Sydney, Australia
    Posts
    1

    extracting data from fields in access onto vb forms

    I have a student who has set up a database with access 2000 for an assignment. One table called products has a field called ProductName and another called UnitPrice. She has set up a form with an array of check boxes and she would like the caption of each check box to be a productName from the file and next to each a textbox or label which will display the corresponding UnitPrice of the item. Anothe text box will enable input of quantity of each item. The user will then check which items they want to purchase and vb will calculate the total amount.

    Is there a simple way that the files can be read into the vb?

  2. #2
    Randalf the Red honeybee's Avatar
    Join Date
    Jun 2000
    Location
    off others' brains
    Posts
    4,345

    Well ...

    Check out database programming in VB elsewhere on VB World, mostly at http://www.vbworld.com/databases/dbtutorial/ That should get you started on the interaction between Access and VB.

    .
    Last edited by honeybee; Jun 4th, 2002 at 08:06 AM.
    I am not a complete idiot. Some parts are still missing.
    Check out the rtf-help tutorial
    General VB Faq Thread
    Change is the only constant thing. I have not changed my signature in a long while and now it has started to stink!
    Get more power for your floppy disks. ; View honeybee's Elite Club:
    Use meaningfull thread titles. And add "[Resolved]" in the thread title when you have got a satisfactory response.
    And if that response was mine, please think about giving me a rep. I like to collect them!

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