|
-
Jul 3rd, 2002, 03:01 AM
#1
Thread Starter
Lively Member
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....
-
Jul 3rd, 2002, 03:51 AM
#2
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
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...
-
Jul 3rd, 2002, 04:26 AM
#3
Thread Starter
Lively Member
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....
-
Jul 3rd, 2002, 04:46 AM
#4
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
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...
-
Jul 5th, 2002, 11:06 PM
#5
Thread Starter
Lively Member
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....
-
Jul 5th, 2002, 11:43 PM
#6
Thread Starter
Lively Member
Ecniv
is it becuase i have 97,2000 access..
If there is a will. there is a way....
-
Jul 6th, 2002, 03:58 PM
#7
Fanatic Member
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
-
Jul 6th, 2002, 10:53 PM
#8
Thread Starter
Lively Member
Franky
could you post the link so i can read it...
If there is a will. there is a way....
-
Jul 7th, 2002, 01:10 AM
#9
Fanatic Member
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
-
Jul 7th, 2002, 02:15 AM
#10
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...
-
Jul 7th, 2002, 02:36 AM
#11
Thread Starter
Lively Member
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....
-
Jul 7th, 2002, 08:39 PM
#12
PowerPoster
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|