
LIKE Operator not working as with access 97
Shouldn't it be '%' and not '*'?
Incidentally, In Access97, with a SQL7 backend, a standard select query with
the '*' doesn't work, nor does the '%'
It seems you have to use a pass-through query with '%'
Quote:
> in a VB project, i have an ADO command with SQL code:
> DELETE FROM myTABLE
> In Access, I can have
> PARAMETERS MyParam Text;
> DELETE * FROM myTABLE
> WHERE MyColumn Like MyParam & "*";
> But then I don't know how to pass the argument through an ADO Stored
> Procedure.
> Q1 Why is the code not working in the ADO Command
> Q2 If there is no way, how can i implement the stored procedure and if
> CallSyntax is involved, What is the CallSyntax syntax. I Couldn't find any
> help in the VS6.0 help
> Q3 Maybe there could be another way to delete lines using such a
> parameter...
> Please answer in the newsgroup. Thanks in advance
> --
> You can write in French, English and Spanish
> Aymeric le Gouvello de la Porte
> ICQ: 27357591