Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can you put a variable on a MENU OPTION?
Message
 
À
13/05/1998 14:17:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00099099
Message ID:
00099318
Vues:
20
>>My users want to see the _TALLY to the right of a MENU OPTION that says: ALL RECORDS FOR YOUR AREA. Can I add the _TALLY right beside the name?
>---
>My Question is : In the MENU, Can you put a reccount() on the same line as the menu name?

You mean you want to have a menu like this:

BAR 1 "MY MENU BAR 1"
BAR 2 "MY MENU BAR 2"
BAR 3 "MY MENU BAR 3"
BAR 4 "TOTAL RECORD IS 10000"

Where 10000 is based on RECCOUNT() value. Possible... although its hard to manipulate because you have to redefine your menu bar everytime RECCOUNT() chages its value.

DEFINE BAR 100 OF MenuPopupName PROMPT "MY CURRENT RECORD"+STR(RECCOUNT("mytable"))

HTH
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform