Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
V6s5 - Hot to manually update a view SQL
Message
From
23/12/2003 10:30:59
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00861568
Message ID:
00861623
Views:
13
This message has been marked as a message which has helped to the initial question of the thread.
>Hi all
>
>I just tried the following command:
>
DBSetProp(lcViewName, 'view', 'SQL',lcSQL)
>
>where lcSQL is the modified view SQL. I got the message that the property is read-only.
>
>Why is this so?
>Also the view I am trying to update is a remote view.
>
>Please advise.

Bhavbhuti,
Running gendbc get programmatic version of creating your view (and any connection you might need for it).

Then edit the SQL and other properties that might need change, drop view lcViewName, recreate running the edited code.
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