Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
List control and locating a value.
Message
 
 
À
16/08/2001 06:55:15
Lee Hockley
Sherwood International
London, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00544585
Message ID:
00544588
Vues:
15
This message has been marked as the solution to the initial question of the thread.
Hi!

The copy of data from SQL query is stored in the LIST array. Its dimensions are:
dimention listbox.List(listbox.ListCount,listbox.ColumnCount)
Youc an loop through values in the LIST array to get ID for each row and assign the picture for each row. All values in the LIST array are character, so use val() function to convert character ID value to numeric.

HTH.

>I have a list box who's data is sourced from an SQL statement. In that statement the record id, description and a summary value is added. It is a list of trade descriptions and how many hours booked against them.
>
>The record id value is not displayed by using the column width = 0.
>
>I want to add icons to each of the trade id values, but want to know how do I determine what each item in the list owns what id.
>
>I am new to this and not totally familiar with the properties, just yet.
>
>Thanks in advance.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform