Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What would cause error 1115 on Alter Table?
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01110453
Message ID:
01110495
Views:
61
Hey, I was giving that answer in about 3 or 4 threads in the last few weeks <g> That's not fair <g>

>The ALTER TABLE will generate error 1115 if there are field names longer than 10 characters in the cursor.
>
>>I have been struggling with this problem where I get error 1115 (which according to help is "attept to use Pack on cursor") when actually trying to change the structure of a cursor.
>>
>>The steps are fairly straight forward:
>>
>>1. I create a cursor with SQL Select.
>>2. I copy the structure of this cursor to an array
>>3. I create another cursor from the array
>>4. Try to add a column (ALTER Table MyCursor add Column MyColumn c(1)
>>5. Error 1115
>>
>>The strange thing is that when I do these steps in the Command window, no error. But in the application I get error 1115.
>>What could be wrong in my application code?
>>
>>I would appreciate any suggestions.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform