Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem in replacing data
Message
De
27/11/2005 12:18:56
Chandan Chakraborty
Bangiya Gramin Vikash Bank
Raiganj, Inde
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Problem in replacing data
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Divers
Thread ID:
01072271
Message ID:
01072271
Vues:
53
I have a form with label name acno,credit and balance.
In keypress event of credit=label2) I written the following code.
close all
select a
use mbal
lnBalance=0
lnGt=0
lnTc=0
lnGt=myentry.credit.value
if nKeycode=13
select mbal
index on acno to tt
seek thisform.acno.value
 if found()
 lnBalance=(mbal.balance)

 lnBalance=lnBalance+lnGt
 select mbal
 repl date with (myentry.date.value),balance with lnBalance
  myentry.balance.value=(mbal.Balance)
  go top
    sum(balance) for type="balance"  to lnTc
    myentry.tbalance.value=lnTc
  
  
 endif
endif
 close all
My intention is to replace the balance in balance(=label3).But the data
is not replacing in the table.Ketevent is necessary to proceed further.
Please help
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform