Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Menu Problem
Message
De
17/07/2000 10:31:12
 
 
À
17/07/2000 09:22:56
Jolene Dicks
Human Resources Development Canada
St. John's, Terre-Neuve, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00393211
Message ID:
00393271
Vues:
15
>Hi,
>
>I have a menu created, and one of the items on my menu is File option. Beneath it is an Exit option. I placed the code inside the procedure for it and I was getting an invalid subscript message inside. I was trying to debug it and put a suspend inside.
>
>The problem that I am having is that there seems to be two instances of that code. When I modify the menu, and click on the procedure I can see it. But I don't see the suspend that I put in there. The program that I put it in, is an exact copy of the code in the procedure.... but I was getting a 'source out of date' message. Now I can't find that code and I have a lost suspend somewhere. When I open the call stack in the debugger, the program that it is trying to call is _05i1azohd. The exact command that shows up in the trace window when I click on selection bar is:
>
>DO _05i1azohd IN LOCFILE("\SIDLOG\SID" ,"MPX;MPR|FXP;PRG" ,"WHERE is SID?")
>
>I've tried searching for all fxp's to delete and tried searching for _05i1azohd as well and can't find it. SID is the name of my menu.
>
>Does anyone know where I can modify that code, keeping in mind that I am getting that 'source out of date' message.
>
>Thanks alot.
>
>Jolene


Jolene, the _05i1azohd procedure name is an internally assigned name, which is the reason you can´t find it.

When your source is out of date, this usually means, that FP (or you) have forgotten to generate the menu after changes.

1. Open the menu

2. From the FP menu choose Menu, Generate

3. FP suggests an outputfile, click generate

4. If that does not do the trick delete the *.mpr file from the dirctory and try steps 1-3 again.

As for the invalid subscript, you´ll have to be a bit more specific.
Peter Pirker


Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?

(Woody Allen)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform