ERROR: The query could not be executed.
The following message was returned by ODBC:
[Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near '#'.
The code that I posted previously is all that is behind my integration for vbscript. I am anticipating pulling in order information who's shipped date is between those two values.
Skip,
Here is the code for the other script that I am asking for a date on:'Prompt the user to input a value
dStartDate = InputBox("Please enter a start date.")
dEndDate = InputBox("Please enter an end date.")
'Test the values to make sure that they are both dates.
'If not, cancel the...
Hi, this is written in VBScript, but the query values are not working, I am still retrieving a years worth of data instead of just the data I am looking for.
Query.AdditionalCriteria = "Date_Shipped >='" & dStartDate &"'"
Query.AdditionalCriteria = "Date_Shipped <='" & dEndDate & "'"
No I don't think so, maybe I didn't explain this enough.
I have a listbox, which is populated by a table, several fields, the "note" field can have 255 characters, but I do not want the listbox control to have to be that wide to accomodate 255 characters, I would like to have it display to fit...
Yes the values are 1,2,3, but if I use the control source then I cannot change the values by clicking on different buttons, that is when I get the above listed error.
So this is what I put in the onCurrent, which also didn't work
Private Sub Form_Current()
Dim DelValueDefault As String
Dim...
Good morning,
How do I display a text field as multiline in a datagrid view on a form,
such as I have a description field on a form, it can have 255 characters, but in the datagrid I want it to display to fit the grid, this also needs to carry over to the report.. any suggestions?
Good Afternoon,
I have two forms, frmMain and frmAddChange. On my frmMain there is a button cmdOpenAddForm that when clicks opens the frmAddRecord
Private Sub cmdOpenAddForm_Click()
On Error GoTo Err_cmdOpenAddForm_Click
Dim stDocName As String
Dim stLinkCriteria As String...
Good Morning,
I have 4 comboboxes on my form
cboEmployees
cboSystem
cboReason
cboType
these are bound to the corresponding tables with select statments ex:
SELECT Employees.EmployeeID, Employees.LastName FROM Employees;
I have another table called ChangeDetails, this tables stores the ID...
If I need to reference each button within the group, then what is the advantage of using the group? Isn't that what the .value property is there for??
anyway, i have more issues with this, imagine that. Now I recieve the cannot edit error that I have read many posts on, the timestamp fix that...
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.