Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create SQL View error in EXE
Message
 
To
22/08/1999 13:15:53
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00256393
Message ID:
00256588
Views:
31
>Thanks Nick! Thats what the problem was. How it got that way???? It's kinda depressing when you're cruising right along and something like this happens, and you suddenly realize how little you know. Thanks again

Tony --

Looks like Nick solved your immediate problem, but I would like to pass on one other thing about using CREATE SQL VIEW in an application (I learned it "the hard way" awhile back).

This may be a little off-topic, but have you noticed that each time you run a CSV, your .DBC increases in size? If the view already exists when your CSV fires, the view's existing rows in the .DBC are flagged as being deleted, and then entirely new view definition rows are added to the .DBC.

My solution to this was to code the application in such a way as to only fire the CSV when absolutely necessary. Then, in my "database reorganization" method (packing, index regeneration, etc.), there is a piece of code that actually packs the .DBC.

Hope this helps -- Bill
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform