Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Views & VFP6
Message
De
01/12/1998 13:18:21
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00162776
Message ID:
00162856
Vues:
20
>Gilles, I think it's a VFP bug. I tried to use a parameterized statement like you did from the view designer and selected the IGNORE CASE button in the filter tab and got the same error you did. A quick fix is to put an ALLTRIM() around the field and parameterized variable and select the IGNORE CASE button. Example below works. Good Luck. :-)
>
>
>SELECT *;
> FROM ups_data!employee Employee;
> WHERE UPPER(alltrim( Employee.last_name)) LIKE UPPER(alltrim(?lclname))

I've found a strange solution... If I do :

SELECT * ;
FROM club!members ;
WHERE UPPER(members.cname) LIKE UPPER(?vp_cname)

and my database members has an index on UPPER(cname) named CNAME it doesn't work....

If I delete this index everything works again... Strange isn't it ??

Gilles
Gilles Azria
-------------------------------------------------
http://www.profiledatabase.com
http://www.photoprofile.ch
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform