Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
List tables
Message
De
17/04/2007 09:30:09
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01216124
Message ID:
01216697
Vues:
13
hi,
i try as under i get error message Property "aTables" is not found
nTablesCount=adir(thisform.aTables,"*.dbf")
thisform.list1.RowSourceType = 5
thisform.list1.RowSource = 'thisform.aTables'
thisform.list1.Requery() 
thisform.list1.ListIndex = 1
thanks
>>hi,
>>thank you for reply,i try as under. not work
>>
>>FOR nCount = 1 TO nTablesCount
>>   ? aTables(nTablesCount,1)
>>nTablesCount=adir(thisform.aTables,"*.dbf")
>>thisform.list1.value=nTablesCount
>>thisform.list1.RowSourceType = 5
>>thisform.list1.RowSource = 'thisform.aTables'
>>thisform.list1.ListIndex = 1
>>endfor
>>
>
>What exactly doesn't work? Remove this >thisform.list1.value=nTablesCount and add thisform.list1.Requery() after thisform.list1.RowSource = 'thisform.aTables'
>
>Also why do you do loop for? Remove it completely.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform