Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfpoledb . command problem
Message
De
26/09/2006 04:41:49
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
26/09/2006 03:33:51
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01157162
Message ID:
01157175
Vues:
13
>where alltrim(cocode) = ?
>.Parameters.Add(New OleDbParameter("@oacode", OleDbType.VarChar, 10)).Value
>= strName
>When the strName is blank, (it return all the record)
>How can I correct it ??
>I am using vfpoledb.dll

Use "==" insetad of "=" or set ansi on.
PS: Alltrim() is unnecessary BTW. Either you need ltrim() or nothing (ltrim() only if you have spaces on left).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform