Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfpoledb . command problem
Message
From
26/09/2006 04:41:49
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
26/09/2006 03:33:51
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01157162
Message ID:
01157175
Views:
12
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform