Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alter Table - Drop [Invalid Subscript Reference] error
Message
From
14/08/2006 16:36:34
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01145415
Message ID:
01145435
Views:
18
See, I knew it was a 'brain cramp' lol

Yes, it was in a tag. As soon as I removed the tag, it run without error.

Thanks.
Beth

>>Hi All,
>> I seem to be getting a 'brain cramp' today. < g >
>>
>>I have the following code in my program. lnFound is greater then 0 and I can see the field in the table, and in the array, but I get the above message [] when I run the program.
>>
>>  lnFound = ASCAN(aFieldArray, "CONTRACT")
>>  IF lnFound > 0
>>    ALTER TABLE 'service' ;
>>      DROP COLUMN 'CONTRACT'
>>  ENDIF  &&  IF lnfound > 0
>>
>>
>>Any Ideas?
>>
>>TIA
>>Beth
>
>Is it an important field? Is it used in any tag?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform