Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sum
Message
De
07/03/2006 06:14:36
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brésil
 
 
À
06/03/2006 23:55:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Re: Sum
Versions des environnements
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Divers
Thread ID:
01101943
Message ID:
01101998
Vues:
11
Hi Mohammed,

Try it:
thisform.Grid1.Column4.ControlSource = "csrMyCursor.sticket - csrMyCursor.eticket"
Good Luck!



>hi all,
>any idea,help
>i need to SUBTRACT 2 fields at my grid,created via cursor as
>at .Column3.ControlSource = "csrMyCursor.eticket"
>valid event
>.Column4.noofticket=.Column2.Sticket-.Column3.Eticket
>but i see only grid1 how i can determine the columns at my grid to make the operation.
>Select bookno,sticket,eticket,noofticket,boxno from trans1 into cursor csrmyCursor readwrite where .F.
>SELECT csrMyCursor
>With thisform.Grid1
>  .RecordSource = "csrMyCursor"
>  .Column1.ControlSource = "csrMyCursor.bookno"
>  .Column2.ControlSource = "csrMyCursor.sticket"
>  .Column3.ControlSource = "csrMyCursor.eticket"
>  .Column4.ControlSource = "csrMyCursor.noofticket"
>  .Column5.ControlSource = "csrMyCursor.boxno"
>
>    append blank
>  .Refresh()
>ENDWITH
Erick
Força Sempre!
Strength Always!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform