|
-
Jan 9th, 2000, 10:23 AM
#1
Thread Starter
Addicted Member
Grr..
Another error.
Umm.. Ok I Wrote ..
SQL = "select * from categories where description like " & Chr(34) & Text1.Text & Chr(42) & Chr(34)
Data1.RecordSource = SQL
Data1.Refresh
And It said
"The Microsoft jet engine cannot find input table or query. Make sure it exists and the name spelled correct."
The Dbsourse is called "General"
Whats wrong??
-
Jan 9th, 2000, 10:33 AM
#2
Addicted Member
So whats with all the char characters?
Try something like
Dim rRecord as Recordset
SQL = "SELECT * FROM Categories WHERE Description Like '" & Text1 & "'"
-> Categories must be a recordset name and Description must be a field in that recordset.
set rRecord = General.Open(SQL)
Any Help.
-
Jan 9th, 2000, 09:33 PM
#3
Hyperactive Member
Try
Code:
sSQL="SELECT * FROM sometable WHERE sometable.somefield='" & Chr(34) & Text1.Text & Chr(42) & Chr(34) & "';"
Data1.RecordSource=sSQL
Data1.Refresh
------------------
Matt G
Either [email protected]] or [email protected]
-
Jan 9th, 2000, 09:42 PM
#4
Member
Basically the error is saying that it could not find the table or query name Categories in your database.
You should check and see if there is 'Categories' in your database.
Good luck.
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
|