Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox problem
Message
De
26/03/2008 06:24:52
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01305596
Message ID:
01305600
Vues:
13
Hi Borislav,
This I already try before.. and
Thisform.cboContactSearch.RowSourceType = 0
Thisform.cboContactSearch.RowSource = ""
also..
the same bahaviour.. and whats interesting... before.. it seems to work..
Maybe exist some SET directives? I don't know what to think.. because the same problem has customers now.. (otherwise I coud reboot machine :))

Denis

>Not sure because that code works here. I didn't have VFP8 to test right now.
>What IF:
>
>Thisform.cboContactSearch.RowSource     = ""
>Thisform.cboContactSearch.RowSourceType = 6
>Thisform.cboContactSearch.RowSource     = "_tapicustomerfound.kurzbez,telefon,modul"
>
>
>
>>Hi,
>>I can't understand the combobox behavior :)) And it seems not long time ago, all works.. but now - nothing ..
>>the problem description.
>>I have a method which create a cursor, and this cursor is source of combobox.
>>
>>If looks like
>>
>>Select ..... INTO CURSOR _tapicustomerfound
>>
>>Thisform.cboContactSearch.RowSourceType = 6
>>Thisform.cboContactSearch.RowSource = "_tapicustomerfound.kurzbez,telefon,modul"
>>Thisform.cboContactSearch.ColumnCount = 3
>>Thisform.cboContactSearch.ColumnWidths = "200,100,30"
>>Thisform.cboContactSearch.ColumnLines = .F.
>>Thisform.cboContactSearch.Requery()
>>
>>
>>Before problem was.. when first line of code happens "RowSourceTyp=6" - I have a foxpro error message about "Can't access table".. (even error handler was ignored.. directly foxpro messagebox)
>>
>>But now.. another strange problem happens..
>>I know exactly _tally after SELECT is 1.. but cboContactSearch.ListCount = 0!!
>>Why 0..when form displays.. it has 1 item.. but in the code its 0
>>
>>If exist explanation, I will happy!
>>Thanks
>>Denis
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform