Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo box in grid
Message
From
17/12/2001 20:55:11
 
 
To
17/12/2001 11:26:13
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00594926
Message ID:
00595428
Views:
23
Marcia,

I really appreciate your thoughts on my problem. I have found the problem and want to post this so that history will not repeat itself with others. Sometime we get on a narrow trac and can't look left or right for trying to look straight ahead. After suspecting everything from bugs to corrupt files, I stumbled onto the problem. Simple! You would have probably known exactly what was wrong if I had told you that in the init of the grid, I built a cursor and set that cursor to the RecordSource of the grid. Only problem is that I had set the field lengths in the cursor to 10.

Thanks very much,
Tommy


>Hello Tommy.
>
>>>--grid column properties
> Bound = .t.
> ControSource = prod.coperation <<
>
>>>--combobox properties
> RowSource = prod <<
>
>So what you are telling me here is that your combo box's ControlSource and RowSource and from the same table? I can't believe that this doesn't cause you problems even when the control is not in the grid.
>
>Change your RowSource to either 5-array or 3-SQL and you shoudl be OK.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform