Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reproducible C5 Error
Message
From
19/03/2002 16:18:14
 
 
To
19/03/2002 09:56:53
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00634446
Message ID:
00634668
Views:
17
Hi Will,

I can't reproduce this. I tried the following code:
SET SAFETY OFF
CREATE TABLE foo (myfld1 C(10),myfld2 N(7,2),myfld3 C(10))
INDEX ON myfld1+STR(myfld2)+myfld3 TAG foo
CLOSE ALL
ALTER TABLE foo ALTER COLUMN myfld2 N(3)
If you have concrete code that can repro the problem or tell me what I am missing in this code, it would help. Thanks!


>Hello all,
>
>I have recently been getting a lot of C5 errors when altering the structure of tables and think I have found the problem.
>
>When I try and run the following command in a loop I get a C5
>
>Alter table x alter column y n(3)
>
>The problem occurs when the field y is used in an index
>I have a few indexes which look like : field1 + str(y) + field3
>these seem to cause the most trouble.
>
>Has anyone else encountered anything like this?
>My workaround is to delete tag all & recreate but its a bit of a pain!
>
>Thanks
>
>Will
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform