Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sqlserver CASE WHEN.. THEN ... END doesn't work with vfp
Message
From
16/01/2011 09:59:41
 
 
To
16/01/2011 04:18:49
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
MS SQL Server
Miscellaneous
Thread ID:
01496269
Message ID:
01496319
Views:
59
>hi charles,
>i have tested a lot that view and finaly i have noticed something.
>
>when the remote view is created in the sql code form of the view designer the error FUNCTION NAME IS MISSING ). appears.
>but, when i create it on the main form it works.
>but, even if the view is well created and works there is another problem . i can't edit that view cause the same error FUNCTION NAME IS MISSING ). appears.
>
>i think vfp must have bug there. if you have some ideas about these i will appeciate th

All my VFP apps over ten years used remote view againsts SQL 2000, 2005 and 2008 backends and they all work. I don't think your problem is a VFP bug.

The view designer in VFP, however, has always had a lot of problems and is very unreliable. Once you fix something in the code for your view it is better to only edit it in code from that point on. The view designer is more likely to damage it than solve any problem.

But if you are not willing to post the code for us to look at I'm afraid there is nothing I can do for you.

Good luck.

(by the way there is a great view designer ViewEditor written by Steve Sawyer and Rich Schummer currently available at

http://whitelightcomputing.com/prodvieweditorpro.htm

which I highly recommend if you going to be working with remote views.

And for SQL server backend VFP apps, my choice for the absolutely best combination is Visual FoxExpress from F1Technologies using Dan Goodwins VFEGenview for the remote views. Amazingly productive combination )


Charles Hankey

Though a good deal is too strange to be believed, nothing is too strange to have happened.
- Thomas Hardy

Half the harm that is done in this world is due to people who want to feel important. They don't mean to do harm-- but the harm does not interest them. Or they do not see it, or they justify it because they are absorbed in the endless struggle to think well of themselves.

-- T. S. Eliot
Democracy is two wolves and a sheep voting on what to have for lunch.
Liberty is a well-armed sheep contesting the vote.
- Ben Franklin

Pardon him, Theodotus. He is a barbarian, and thinks that the customs of his tribe and island are the laws of nature.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform