Hi Sergey,
Sorry for the late response. This script wasn't working cos the usertyped property corresponded to the expanded field when the script was executing after the menu selection.
However, the ItemScript property was the one I had jumped over. I should have seen it in the help files but I didn't :\
Anyway, what I ended up doing is call a script via a myused or myuseh myusei and I use a RIGHT(FoxCode.usertyped,1) to know on which drive I want the USE to be made, I then open the adminfile DBF of that drive (that holds all DBF we have in our applications) and then scan it to create the menu items with adminfile.name + " : " + adminfile.path+adminfile.name, so that in the calling back script, I can make a string manipulation to retrieve the fullpath of the selected table.
So now with about 10 keystroke I can open any table in any environment!!!Thanks Sergey, you lead me to find a great solution!!
Regards,
Sylvain
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only