Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid selection problem
Message
De
14/09/2006 17:15:30
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01153818
Message ID:
01153873
Vues:
17
I tried passing ncolindex to the dodefault and nothing happened.

the code for the Populate_detail method is as follows:
thisform.grdDetail.RecordSource = ''
SELECT cjobno,dcreate,dserved,ntotcalls,dtrack,ctrackto,cInstname,ccity,dlastcall,tlastcall ;
	from cSQLPT1 ;
	INTO CURSOR cur_detail ;
	WHERE ctrackloc = ALLTRIM(thisform.grdSummary.column1.cgridtextbox1.Value) ;
	ORDER BY dtrack DESC, cjobno 
SELECT cur_detail
GO TOP 
WITH thisform.grdDetail
	.recordsource = 'cur_detail' 
	.column1.controlsource = 'cur_detail.cjobno'
	.column2.controlsource = 'cur_detail.dcreate'
	.column3.controlsource = 'cur_detail.dserved'
	.column4.controlsource = 'cur_detail.ntotcalls'
	.column5.controlsource = 'cur_detail.dtrack'
	.column6.controlsource = 'cur_detail.ctrackto'
	.column7.controlsource = 'cur_detail.cinstname'
	.column8.controlsource = 'cur_detail.ccity'
	.column9.controlsource = 'cur_detail.dlastcall'
	.column10.controlsource = 'cur_detail.tlastcall'
	.sethighlightbar()
	.refresh()
ENDWITH
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform