Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Positioning onto another row in a grid
Message
 
 
À
11/01/2006 11:12:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01085643
Message ID:
01085673
Vues:
18
mdbf=SELECT()

MRECNO=RECN() 


SELECT BOOKINSTORESBODY 

SUM qty TO mtotalqty FOR bookinno=BOOKINSTORESHEAD.bookinno 
SUM ROUND(qty*costprice,2) TO mtotalcost FOR bookinno=BOOKINSTORESHEAD.bookinno 
SUM ROUND(qty*salesprice,2) TO mtotalsale FOR bookinno=BOOKINSTORESHEAD.bookinno 

thisform.paGEFRAME1.page1.txtNTotalQty.Value=mtotalqty
thisform.paGEFRAME1.page1.txtnCostTotal.Value=mtotalcost
thisform.paGEFRAME1.page1.txtnSaleTotal.value=mtotalsale

SELECT (mdbf)
GO MRECNO

mrecno=RECNO()

IF READ()<>4

 SKIP 
 IF EOF() OR bookinno<>BOOKINSTORESHEAD.bookinno
  GO mrecno
  this.Parent.Parent.Parent.cmdinsert.Click()
 ELSE 
  GO mrecno
  skip

  thisform.pageFRAME1.page1.grdBody.Refresh()

  *KEYBOARD "{DNARROW}" PLAIN
 ENDIF 
ENDIF 
Rob
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform