Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CDX Files
Message
From
19/10/2015 16:44:42
 
 
To
19/10/2015 03:30:26
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP3
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01626126
Message ID:
01626183
Views:
66
Likes (1)
>I don't understand CDX files. What causes them to get so huge? I have an app that has a CDX file over 1.2 billion bytes big. I have other apps that don't have any CDX files at all.
>
>This particular CDX file just keeps getting bigger and bigger, and it gets bigger whenever I run the app. How is that possible?
>It takes forever to make a backup of that folder just because of that one file.
>
>I don't understand how it can get bigger by just running the program...even without having made any program changes...just running it and making no file changes and then closing it..
>
>Rich Murillo

check DELETE TAG.
CREATE TABLE TEST (tx1 C(120))
INSERT INTO TEST VALUES ('')
FOR K=1 TO 14
	INSERT INTO TEST SELECT * FROM TEST
NEXT
INDEX ON 1 TAG tag0	&& comment this and retest
INDEX ON tx1 TAG tag1
SET COMPATIBLE DB4
WAIT WINDOW FSIZE(CDX(1)) NOWAIT
FOR K=1 TO 100
	FLUSH IN (SELECT(0))
	DELETE TAG tag1
	INDEX ON tx1 TAG tag1
	WAIT WINDOW TRANSFORM(FSIZE(CDX(1)),"@R 999 999 999 999") NOWAIT
NEXT
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform