Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.databases.ms-access > #13615

Re: OLEDB syntax problems

From Neil <neil@myplaceofwork.com>
Newsgroups comp.databases.ms-access
Subject Re: OLEDB syntax problems
Date 2019-05-06 13:57 -0400
Organization A noiseless patient Spider
Message-ID <qapsis$e56$1@dont-email.me> (permalink)
References (3 earlier) <15c5c976-0d82-4f5a-9cfc-bbce4c726612@googlegroups.com> <qahdah$vtc$1@dont-email.me> <qainnf$m6q$1@dont-email.me> <qajrls$oq6$1@dont-email.me> <qakqpi$lvq$1@dont-email.me>

Show all headers | View raw


On 5/4/2019 3:56 PM, Ron Weiner wrote:
> Neil wrote:
> 
> Hmmm...  Just had an Idea for you to try.  Change your Sql from:
> 
> NSERT INTO AdTrack (LogIn, Admin, Action) VALUES ('" & LogVal & "', '" & 
> WhoAdm & "', '" & DidWhat & "');
> 
> To:
> 
> NSERT INTO AdTrack (LogIn, Admin, Action) SELECT '" & LogVal & "', '" & 
> WhoAdm & "', '" & DidWhat & "';
> 
> Wonder if that will work????
> 
> Rdub
> 
Well, although that syntax fails in the same way as the others, your 
discussion of this made a light bulb come on in my head! I think the 
syntax error message was ambiguous, in that it is probably not the SQL 
syntax but it just might be the *command* structure. I've been leaving 
the ADO commands in the routines. So, the "syntax error" might be that 
ACE.OLEDB 12.0 can't handle the ADO command structures.

So, I'm looking for a good reference. The Microsoft pages on OLEDB 
command structures drive me nuts because they're so inefficiently 
organized and presented in small, unrelated chunks on separate web 
pages. Our site is also based on classic ASP, so the DOT.NET references 
are of little use too. I'd rather not have to convert thousands of 
routines to DOT.NET just to get this done.

Thanks for your thoughts! They were quite helpful.

-- 
best regards,

Neil

Back to comp.databases.ms-access | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

OLEDB syntax problems Neil <neil@myplaceofwork.com> - 2019-05-02 09:56 -0400
  Re: OLEDB syntax problems Ron Weiner <rw@domain.com> - 2019-05-02 11:15 -0400
    Re: OLEDB syntax problems Neil <neil@myplaceofwork.com> - 2019-05-02 17:38 -0400
  Re: OLEDB syntax problems Ron Paii <ron81pai@gmail.com> - 2019-05-02 12:33 -0700
    Re: OLEDB syntax problems Neil <neil@myplaceofwork.com> - 2019-05-02 17:45 -0400
      Re: OLEDB syntax problems Ron Paii <ron81pai@gmail.com> - 2019-05-03 05:25 -0700
        Re: OLEDB syntax problems Neil <neil@myplaceofwork.com> - 2019-05-03 08:48 -0400
          Re: OLEDB syntax problems Ron Weiner <rw@domain.com> - 2019-05-03 20:51 -0400
            Re: OLEDB syntax problems Neil <neil@myplaceofwork.com> - 2019-05-04 07:05 -0400
              Re: OLEDB syntax problems Ron Weiner <rw@domain.com> - 2019-05-04 15:43 -0400
              Re: OLEDB syntax problems Ron Weiner <rw@domain.com> - 2019-05-04 15:56 -0400
                Re: OLEDB syntax problems Neil <neil@myplaceofwork.com> - 2019-05-04 18:57 -0400
                Re: OLEDB syntax problems Neil <neil@myplaceofwork.com> - 2019-05-06 13:57 -0400
                Re: OLEDB syntax problems Ron Weiner <rw@domain.com> - 2019-05-06 14:46 -0400
                Re: OLEDB syntax problems Neil <neil@myplaceofwork.com> - 2019-05-07 08:17 -0400
                Re: OLEDB syntax problems Ron Paii <ron81pai@gmail.com> - 2019-05-07 06:32 -0700
                Re: OLEDB syntax problems Neil <neil@myplaceofwork.com> - 2019-05-07 10:49 -0400
                Re: OLEDB syntax problems Ron Paii <ron81pai@gmail.com> - 2019-05-07 07:54 -0700
                Re: OLEDB syntax problems Neil <neil@myplaceofwork.com> - 2019-05-07 11:17 -0400
                Re: OLEDB syntax problems Ron Paii <ron81pai@gmail.com> - 2019-05-07 08:46 -0700
                Re: OLEDB syntax problems Neil <neil@myplaceofwork.com> - 2019-05-07 12:18 -0400
                Re: OLEDB syntax problems Ron Paii <ron81pai@gmail.com> - 2019-05-07 10:28 -0700
                Re: OLEDB syntax problems Ron Weiner <rw@domain.com> - 2019-05-07 16:34 -0400
                Re: OLEDB syntax problems Neil <neil@myplaceofwork.com> - 2019-05-07 17:16 -0400
                Re: OLEDB syntax problems Ron Weiner <rw@domain.com> - 2019-05-08 12:58 -0400
                Re: OLEDB syntax problems Neil <neil@myplaceofwork.com> - 2019-05-08 13:20 -0400
                Re: OLEDB syntax problems Ron Weiner <rw@domain.com> - 2019-05-08 14:24 -0400
                Re: OLEDB syntax problems Neil <neil@myplaceofwork.com> - 2019-05-08 15:34 -0400
                Re: OLEDB syntax problems Neil <neil@myplaceofwork.com> - 2019-05-09 15:36 -0400
                Re: OLEDB syntax problems Ron Weiner <rw@domain.com> - 2019-05-07 16:49 -0400
                Re: OLEDB syntax problems Neil <neil@myplaceofwork.com> - 2019-05-07 17:18 -0400
                Re: OLEDB syntax problems Ron Paii <ron81pai@gmail.com> - 2019-05-06 12:33 -0700
                Re: OLEDB syntax problems Neil <neil@myplaceofwork.com> - 2019-05-06 15:52 -0400
  Re: OLEDB syntax problems FreeToGolfAndSki <genoagroup@gmail.com> - 2019-05-08 06:41 -0700
    Re: OLEDB syntax problems Neil <neil@myplaceofwork.com> - 2019-05-08 13:26 -0400

csiph-web