Author |
Topic |
|
kendiala
VP-CART New User
57 Posts |
Posted - April 10 2007 : 14:46:13
|
I'm working on a new installation of v6.50 and getting an error upon logging into the administrative area:
Microsoft OLE DB Provider for ODBC Drivers error '80040e14' [Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression 'fldauto in ()'.
/catalog/shopheaders.asp, line 1672
Has anyone else had this problem? Any ideas how to fix it?
Thanks. |
|
zmwang66
Starting Member
USA
2 Posts |
Posted - April 17 2007 : 14:49:18
|
I have exactly same problem after new installation of v6.50. Please help.
diaG_dbtest.asp ALL PASS.
============ Henry Wang |
|
|
support
Administrator
4679 Posts |
|
Mark Priest
VP-CART Expert
United Kingdom
580 Posts |
Posted - May 10 2007 : 10:34:23
|
I'm getting the same, however i'm running MySQL
It would be nice if when things like this are fixed by support that the fixes are posted here in the forum so we can mend the errors ourselves, otherwise we end up tying up support for the same thing over and over again!
Regards,
Mark Buy Fireworks |
Edited by - Mark Priest on May 10 2007 10:34:56 |
|
|
support
Administrator
4679 Posts |
Posted - May 10 2007 : 10:39:39
|
Hi Mark,
We do not like really posting code on the forum as it can sometimes cause more problems than it solves.
However please try this: Locate ShowShortcuts in shopheaders.asp.
Change it to use the following code instead:
Sub ShowShortcuts dim shortdbc, shortrs, shortcutids shopopendatabase shortdbc set shortrs = shortdbc.execute("select shortcut from tbluser where fldusername = '" & getsess("shopadmin") & "'") if not shortrs.eof Then shortcutids = shortrs("shortcut") if shortcutids = "" Or IsNull(shortcutids) Then closerecordset shortrs shopclosedatabase shortdbc exit Sub end If set shortrs = shortdbc.execute("select * from tblaccess where fldauto in (" & shortcutids & ")")
Hope this helps
Thanks Cam,
VP-ASP Support |
|
|
Mark Priest
VP-CART Expert
United Kingdom
580 Posts |
Posted - May 10 2007 : 10:43:51
|
Hi Cam,
Thanks for that, I understand, maybe there should be an area dedicated to this for valid users only.
Regards,
Mark Buy Fireworks |
|
|
Mark Priest
VP-CART Expert
United Kingdom
580 Posts |
Posted - May 10 2007 : 10:46:02
|
PS, answer in under 5 minutes!! Now that's good support
Regards,
Mark Buy Fireworks |
|
|
support
Administrator
4679 Posts |
Posted - May 10 2007 : 10:47:50
|
That's not a bad idea actually.
We will be releasing our first update in a few weeks which will cover off on this and a few other issues that have popped up.
Most are simple one line fixes so a secure section for customers who want to apply the updates themselves may be a possibility.
We will have a discussion about it at our next weekly meeting and see what comes out.
Thanks Cam
VP-ASP Support |
|
|
|
Topic |
|