Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invalid subscript reference
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Invalid subscript reference
Miscellaneous
Thread ID:
01219139
Message ID:
01219139
Views:
91
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
Next
Reply
Map
View

Click here to load this message in the networking platform