Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp50 - VIEW not going away
Message
From
30/03/1997 15:51:36
 
 
To
28/03/1997 23:24:34
Larry Long
ProgRes (Programming Resources)
Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00026066
Message ID:
00026209
Views:
41
>>>>>>I have create a VIEW with CREATE SQL VIEW.
>>>>>>After using the VIEW, I return to my table.
>>>>>>I then create the same VIEW using the same name myview), but I am
>>>getting
>>>>the previous VIEWS results? What do I do?
>>>>>Are you creating the view each time with a different WHERE condition?
>>>
>>>>Yes I am. I am using a different string with the WHERE CLAUSE.
>>>do you remove the old view from the dbc?
>>>
>>>- remember views are not exactly like cursors
>>>
>>>Arnon
>>
>>NO... my code is...
>>CREATE SQL VIEW myview AS SELECT etc...
>>I use the VIEW, then I re-create it again with a different
>>WHERE CLAUSE. I just can not get rid of the first VIEW I
>>create. Can you help?
>Works ok for me...anyway try "SELECT myview" instead of " USE myview" after you create it. Your settings may be locking the file somehow.

Hi Larry... it will not let me use SELECT, I have to use
USE. My code is:
CREATE SQL VIEW myview AS SELECT * FROM mytable
USE myview

Anyother suggestions?
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Previous
Reply
Map
View

Click here to load this message in the networking platform