Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Alter Table - Drop [Invalid Subscript Reference] error
Message
De
14/08/2006 16:13:56
 
 
À
14/08/2006 16:00:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01145415
Message ID:
01145424
Vues:
20
>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
>
A SWAG, but might the table be read-only, or permissions not be correct?
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform