Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox problem
Message
From
26/03/2008 05:57:44
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Combobox problem
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01305596
Message ID:
01305596
Views:
42
Hi,
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
Next
Reply
Map
View

Click here to load this message in the networking platform