Home > Archive > Programming with dBASE > October 2005 > Listbox and ListSelected() v5.7









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Listbox and ListSelected() v5.7
curranpg@hotmail.com

2005-10-27, 8:23 pm

Hi;

I have a app that tracks various credentials on personnel. I want to use a
listbox and select multiple items. Then I want to use a list selected method
to scan through the items that were selected and update their credentials.
How is this done? Here is the code that I tried:

Listbox1 displays the last name field

FOR i=1 TO LISTcount(Form.Listbox1)

SEEK LISTselected(Form.Listbox1,i)
replace persdata->veh1 with 'D'
NEXT i
return

Thanks for any help
Pat


Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com