I am currently using this line of code to oder a table based on the values of rec.
DoCmd.RunSQL "SELECT mid([rec],3,6) FROM driver ORDER BY rec "
When I run this it gives me an error saying that what is inside the quotes is not an SQL statement. Can someone help me out and see what the problem is.
Thanks
DoCmd.RunSQL "SELECT mid([rec],3,6) FROM driver ORDER BY rec "
When I run this it gives me an error saying that what is inside the quotes is not an SQL statement. Can someone help me out and see what the problem is.
Thanks