Re: Syntax for multiple WHERE in recordset?



"Kahuna" <none@xxxxxxxxxxxx> wrote in message
news:Ow3UIfFlFHA.3568@xxxxxxxxxxxxxxxxxxxx
> Yep tried it Bob and fails... so far - the reason I built it this way
> was because the syntax is the only way I could get the basic query
> working - and then I extrapolated it to inbclude the Ands.
>
> Is it possible to create a command object on an un-bound control and
> build the relevant sql criteria that way and subsequently copy the
> criteria string?

Sorry, I don't understand what you are asking. ADO command objects have
nothing to do with other controls.

> I will reformat it and try your syntax again.

If it still fails post the code, the actual SQL statement and what the error
actually is.

--
Reply to the group so all can participate
VB.Net: "Fool me once..."

.



Relevant Pages

  • RE: Inserting an Email Address fails.
    ... Inserting an Email Address fails. ... Isn't the syntax for INSERT ... ... neither of which works and both return pretty much the same error message. ...
    (perl.dbi.users)
  • Re: Range Object error
    ... I guess I am still confused by the syntax highlighted by this example ... and this fails too ... Excel not agreeing on exactly which Range/Cells are being referenced. ... I am obviously referencing the RANGE object incorrectly but I dont see ...
    (microsoft.public.excel.programming)
  • Re: Cant retreive Date it gives me the same exception
    ... // following syntax works in dbaccess, but fails with ... // following syntax doesn't fail, ... Informix can bind integers to date columns, ... preparedStatement with a question mark placeholder in the SQL string, ...
    (comp.databases.informix)
  • Re: error trying to change topmargin
    ... >the vb6 program runns fine changes the orienation and then fails on ... >changeing the top margin. ... the syntax is perfectly legal. ...
    (microsoft.public.word.vba.customization)

Quantcast