Results 1 to 12 of 12

Thread: what is the right way to do

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2002
    Location
    Here in our Planet
    Posts
    76

    what is the right way to do

    what is the right way to connect the data which the user entered in a text boes to a database access?????
    If there is a will. there is a way....

  2. #2
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343

    Re: what is the right way to do

    Originally posted by look
    what is the right way to connect the data which the user entered in a text boes to a database access?????
    Uh??

    You mean use the data entered to filter a returned recordset?
    Or how to store entered data to Access?

    If the latter have a look at the tutorials on vbworld in the database section.

    For the former, have a look at filtering via the Sql statement and 'where' clause.


    Vince

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jan 2002
    Location
    Here in our Planet
    Posts
    76

    i know but

    hi, i did see several examlples using Datacontrol, flex grid,dbgrid,
    i also read about rdo,ado,adodc
    but all of them are working or given examples with nwind db but when i try to connect the my from to my db it gives me an error that my db is unrecognized....
    If there is a will. there is a way....

  4. #4
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343
    Connecting from VB?

    Its possible you are trying to connect a 97 mdb to 2k mdb - which gives unrecognised format. or visa versa which may give that error message.

    Also check the MDac downloads for the upto date stable version. This should change the 97/2k problem.


    Vince

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Jan 2002
    Location
    Here in our Planet
    Posts
    76

    Connection VB form to DB

    i'm working with access2000,and VB6..
    my form has text boxes, and a data control, which i set it datasource to my DB,and when i try to set the recordsource it gives me that error.
    and my DB fields are empty and i want to fill them from these textboxes.. what should i do
    Last edited by look; Jul 6th, 2002 at 10:56 PM.
    If there is a will. there is a way....

  6. #6

    Thread Starter
    Lively Member
    Join Date
    Jan 2002
    Location
    Here in our Planet
    Posts
    76

    Ecniv

    is it becuase i have 97,2000 access..
    If there is a will. there is a way....

  7. #7
    Fanatic Member
    Join Date
    Nov 2001
    Location
    Bangkok
    Posts
    969

    hi look

    read my thread: How to connect MDB with VB. It is easy to understand.

    You will have no questions anymore about this ..... hopefully, hehe


    Franky

  8. #8

    Thread Starter
    Lively Member
    Join Date
    Jan 2002
    Location
    Here in our Planet
    Posts
    76

    Franky

    could you post the link so i can read it...
    If there is a will. there is a way....

  9. #9
    Fanatic Member
    Join Date
    Nov 2001
    Location
    Bangkok
    Posts
    969
    Here is the thread:

    FREE MODULE: How to open a Database in VB (Access, DBF)

    It is in the Database section. I never pasted a thread, sorry, I don't know how to do it.

    Franky

  10. #10
    Jethro
    Guest
    Ah database unrecognised error is because you are using Access 2000. Which connection method? For DAO you have to reference the 3.6 version... Beaker has an ADO tutorial in the first post on this forum, which will cover ADO connection to Access 2000.

    Hope it helps...

  11. #11

    Thread Starter
    Lively Member
    Join Date
    Jan 2002
    Location
    Here in our Planet
    Posts
    76

    i'm using

    i'm using data control to connect my db to vbfrom . not DAO...AND i know when coonect to access97 use 6.3 and access2000 use4
    so does that solve my problem?????
    Last edited by look; Jul 7th, 2002 at 11:01 PM.
    If there is a will. there is a way....

  12. #12
    PowerPoster Beacon's Avatar
    Join Date
    Jan 2001
    Location
    Pub Floor
    Posts
    3,188
    1) Dta contorols suck badly
    2) The data control your using uses DAO!
    3) To solve your problem download sp5 from MS!

    b

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