Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
My own function
Message
From
14/01/1999 09:10:13
 
 
To
14/01/1999 08:46:51
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00175828
Message ID:
00175854
Views:
22
>Thanks for help Ed.
>I do all like you wrote.
>Now when I enter in Expression builder ()
>and press buttom Verify, I have eroor: "Invalid subscript reference"

Start - a hint when entering things here. The board processes HTML; things directly within < > with no separators do not appear.

One possibility is that the function is not visible at design time. If you're using a procedure file, make certain that you've done a SET PROCEDURE TO procedure file before invoking the Report Designer. What VFP doesn't know about at design time can't be used in the expression builder. If you're using a standalone .PRG, make certain that the .PRG is in the current directory or somewhere along VFP's search path (as set by SET PATH) so that VFP can find the .PRG file.

The same rules apply at runtime - the procedure file or program must be visible to VFP when the report is invoked, or the function won't be available.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform