Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sum
Message
De
06/03/2006 23:55:50
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Sum
Versions des environnements
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Divers
Thread ID:
01101943
Message ID:
01101943
Vues:
47
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform