Results 1 to 4 of 4

Thread: Data field in a text box.

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2000
    Posts
    8

    Question

    Very simple question. I simply want to display a data field from and Access application in a text box. I have tried every command I know, and just cant seem to make it work.
    I have tried:
    text1=unitprice
    and
    unitprice.show
    among other failed attempts.
    Please help me before I use this laptop like a frisby.

  2. #2
    Guest

    Access to VB

    I'm no pro but I think I can help.

    What you need to do is put a data control on your form. from there, go to the properties, go to DatabaseName and find your database. then select the record set. from there, you can create a text box. In the textbox properties select the datasource from your database. That should be it. good luck.

    -Ozman

  3. #3

    Thread Starter
    New Member
    Join Date
    Mar 2000
    Posts
    8

    nope that didnt work.


    I'm no pro but I think I can help.

    What you need to do is put a data control on your form. from there, go to the properties, go to DatabaseName and find your database. then select the record set. from there, you can create a text box. In the textbox properties select the datasource from your database. That should be it. good luck.

    -Ozman

    I had already tried that, I have the information in my application. I simply used the DB Wizzard and that works great. I had allready created the DB with Access. But now I need to pick it apart and I cant figure out how. If I can display a scecific field then I can manulate it. That is my problem.

  4. #4
    Guest
    sorry, misunderstood your dilemma. I thought you had trouble displaying the info. How do you want to 'pick it apart' exactly?

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