Article ID: 147310
Article Last Modified on 2/12/2007
achosen[1]
local lnCounter
lnCounter = 0
DIMENSION ThisForm.achosen[ThisForm.lstCust_id.ListCount]
WITH ThisForm
FOR i = 1 TO .lstCust_id.ListCount
IF .lstCust_id.Selected(i)
lnCounter = lnCounter + 1
.achosen[lnCounter] = .lstCust_id.List[i]
ENDIF
ENDFOR
ENDWITH
IF lnCounter = 0
WAIT WINDOW "No Records Chosen !"
ELSE
DIMENSION ThisForm.achosen[lnCounter]
REPORT FORM CustRepo FOR ASCAN(ThisForm.achosen,cust_id) > 0 PREVIEW
ENDIF
Additional query words: VFoxWin
Keywords: kbcode KB147310