Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Invalid subscript reference
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01219139
Message ID:
01219147
Vues:
12
Do you know which line of code produces an error? You may find it out with LINENO() function.

>I get the message
>
>"Invalid subscript reference"
>
>Only on runtime (compiled.exe)
>
>The message does not appear on visualfoxpro developer environment
>
>On thebeforeopentable method of my first form I wrote
>The dataenviroment contains tables which I wanna test
>
>***************************
>SET PATH TO DATA ;HELP
>
>SET PROCEDURE TO FUNCTION1
>
>On ERROR DO  SEE_ERROR
>
>** the see_error method executes
>
>************************
>Function see_error
>
>   If  ERROR () = 2005
>        DO FORM bad_data_warning
>        *RETURN
>        else
>           = MESSAGEBOX("Erro: " + STR (ERROR()) + ". Contact support cursos@acrisoft.com.br"  )
>             Endif
>
>
>ON ERROR
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform