Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get the size of a remote view?
Message
 
To
16/08/2007 11:12:53
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01248529
Message ID:
01248535
Views:
27
>Hi all,
>I have a remote view against an Oracle database which starts with zero records. I am appending one record at a time into this remote view from a local foxpro table. It works until I get:
>
>Error 1190. The file is too large to be modified.
>The file is larger than 2 GB.
>Use another method to reduce the file size, and then try again.
>
>Rather than switch to using SQLEXEC(), I would like to try managing the error by actively watching for the file size of the view. Is there a quick way to do this aside from ADIR()?

Something like that?
lcViewFileName = DBF([view alias here])
ADIR(laDir,lcViewFileName)
? laDir[1,2]
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform