Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to select Visual FoxPro logical field from ASP.NET

Status
Not open for further replies.

megkhp

Programmer
Mar 10, 2003
14
0
0
US
Hi!

I'm writing an ASP.NET application that connecting to Visual FoxPro database, I want to select a logical field "IsActive" equals to ".T." from the "Customer.dbf", I've tried the following but they don't work:

"SELECT * Customer WHERE IsActive=.T."
"SELECT * Customer WHERE IsActive=TRUE"
"SELECT * Customer WHERE IsActive='TRUE'"

Does anyone know the solution? Thanks!
 
try
SELECT * Customer WHERE IsActive=1

--------------------------
"two wrongs don't make a right, but three lefts do" - the unknown sage
 
It might be either 0 or -1. I can't remember which is on and which is off.

[pipe]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top