Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox problem
Message
 
 
To
26/03/2008 05:57:44
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01305596
Message ID:
01305602
Views:
10
At which point do you check cboContactSearch.ListCount ?

>I can't uderstand the combobox behaviour :)) 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
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform