|
-
Feb 4th, 2002, 06:17 AM
#1
Thread Starter
Hyperactive Member
Sorry, slight mistake.
Use Refresh there is no Update.
-
Feb 4th, 2002, 06:18 AM
#2
Lively Member
Leather,
Now the error comes up saying microsoft jet cannot find input table or query "tablename".??
Thankyou for any and all help. It is greatly appreciated
-
Feb 4th, 2002, 06:26 AM
#3
Fanatic Member
Ok the so it looks like you are trying to run aa query like
"SELECT * FROM TABLENAME"
You need to append the table name.
IE
"SELECT * FROM " & Text1.text
Or
"SELECT * FROM " & listbox1.text
In other words you must put the actual table name into the SQL statement.
Leather Face is comin...
MCSD
-
Feb 4th, 2002, 06:30 AM
#4
Lively Member
Here is what I have
Private Sub Command4_Click()
datPrimaryRS.RecordSource = "select* Name,Car,Origin,[Round 1 Time],[Round 1 Speed],[Round 2 Time],[Round 2 Speed],[Round 3 Time],[Round 3 Speed],Position,[Nominated Speed],Variation from [Class IV] "
datPrimaryRS.Refresh
grdDataGrid.Refresh
I copied most from current record source.maybe i have it all back to front.
Thankyou for any and all help. It is greatly appreciated
-
Feb 4th, 2002, 06:33 AM
#5
Fanatic Member
U need a space between the SELECT and the *
Leather Face is comin...
MCSD
-
Feb 4th, 2002, 06:40 AM
#6
Lively Member
This must be very frustrating for you and i apologise.I now have another error.
Syntax error (missing operator) in query expression'*name'
Thankyou for any and all help. It is greatly appreciated
-
Feb 4th, 2002, 06:43 AM
#7
Fanatic Member
Hey thats ok, no problem.
Its the same for everyone.
Delete the * altogether..
Sorry should have spotted that straight away..
Let me know if that works.
Leather Face is comin...
MCSD
-
Feb 4th, 2002, 06:44 AM
#8
Fanatic Member
The * in a SQL Statement is used to retrieve all columns in the table or view... If you intend to specify column names (as you have) then tehre is no need for the Asterix.
Leather Face is comin...
MCSD
-
Feb 4th, 2002, 06:46 AM
#9
Lively Member
-
Feb 4th, 2002, 06:53 AM
#10
Fanatic Member
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
|