Hello everyone,
I have been looking at this code for hours and just can't find the error in it. It is giving me a syntax error in the JOIN operation. The code is below, please help.
Thanks
DoCmd.RunSQL "INSERT INTO TempAll ( ID, SDate, NAME,Screener, PROVIDER," & _
"MatName, LotID, Quant )...
Hello everyone,
The code I have below works if the arguments are passed to the query as text. My question is how do I pass arguments to the query as a numbers?
Thanks,
' Declare variables
Dim db As DAO.Database
Dim qdf As DAO.QueryDef
Dim varItem As Variant
Dim strCriteria...
Hello everyone.
I am having a problem figuring out why my query is returning incorrect results. I have a form that accepts a date range from the user and passes the values from the text boxes on the form to the query. Sometimes the query returns the correct results but in some cases incorrect...
It seems like I'm getting somewhere now thanks joelflorendo but there is an error I'm getting. It is error: 3075 Syntax error in string in query expression "23.993". In the code below. "23.993" is the value of column 3. I'm new at writing sql code in vba so I don't quite understand the quotes...
I thought of using an append query but I don't know how code it to append a record based on the selection in the list box. In other words, I can't figure out how to get the append query to insert the record selected. Below is an example of some code I found on the web. I couldn't get it to work...
What I have is a list box that displays data that is queried from an external database. What I am trying to do is insert data that is being pulled from the external database into a table based on my list box selection. I hope I am making sense. Please let me know.
Thanks
I am really struggling with this. I am trying to insert a selection from a list box into a table. I've looked for information on the web but nothing has worked for me.
Thanks
No matter how much I try to correct the syntax of my VBA sql statements, I always get errors every time. Does anyone know where I can find tutorials explaining the syntax of sql statements in VBA? It's like hit or miss with me. Sometimes I get the syntax right. Most of the time I don't.
The...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.