Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select from unintended table
Message
From
10/04/2003 04:09:16
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00773439
Message ID:
00775913
Views:
12
>Hi,
>
>>>As an aside, I never use the view designer and I code all my views.
>
>I have some sort of middle ground - if the views are simple and within the capabilities of the view designer I tend to stick with it since it's easier to go back and check the view settings.
>
>BTW - why do you delete the view before re-creating it - I thought it was automatically overwritten if it already existed ?

Correct, it does the overwrite.
Since I have Safety Off, deleting it first does not ask to overwrite it. And it is but one line of code.

Another reason I put the views in a function is to update the customers to the latest version if necessary. Each change to a table is also done with code. When any table has changed, I recreate all the (local) views since they may depend on a table just changed.

Just a way of working

Cheers,

>
>Regards,
>Viv
Gregory
Previous
Reply
Map
View

Click here to load this message in the networking platform