Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with Case When
Message
 
To
02/05/2002 05:50:13
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00651748
Message ID:
00651753
Views:
21
Karen,

>But I suppose that must work with sqlexec command.

I'm not sure if I understand you correctly, but I'll try to give you an answer :)

You can do something like SELECT IIF(field1=1, "1", "2") AS field_name ... directly as a command in VFP to query a VFP table, but this should also work via the VFP ODBC driver against a VFP table.

Hope this answers your question. If not, just give me more details!

Armin

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Previous
Reply
Map
View

Click here to load this message in the networking platform