Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
List Boxes Behave strange
Message
 
 
To
28/06/2000 10:17:23
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00385612
Message ID:
00385825
Views:
20
>Rowsourcetype is always: 3-SQl Statement
>Example:select distinct moc005 from mainstnd where not csempty(moc005) order by moc005 into cursor cMoc005
>
>So the lists are popualting when the form loads? I suppose..

Your original post says that you did not RowSource. If you have a rowsourcetype, the combobox will not behave properly if you didn't specify RowSource.

You can do it this way in Load event if you don't want to do it visually:
With Thisform.ComboBox1
    .RowSourceType = 3
    .RowSource = "Select blah..blah.. "
    .ComboBox1.Requery()
Endwith
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform