Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error handling - need to pass the name of the current fo
Message
 
 
To
05/07/2006 09:08:22
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01133347
Message ID:
01133810
Views:
12
John,

program() can give you everything you are needing:
test1()

function test1()

test2()
return

function test2()
? program(-1)
for i = 1 to program(-1)
   ? program(i)
endfor
return
>This did it! The program() function was just giving me the control, whereas sys(16) is giving me the control AND the program name.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform