Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is it possible to have grid and fields bound to same sou
Message
From
02/02/2007 12:28:02
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01191844
Message ID:
01191874
Views:
11
>>>>>Is it doable at all or should I start again from scratch?
>>>>>
>>>>It should be doable. What do you have in column.controlsource and combo.rowsource?
>>>>>Thanks a lot in advance.
>>>
>>>In column's controlsource I have crsAllProblems.cSoftware (same for other)
>>>in combo's controlsource I have crsAllProblems.iSoftware_Code and the rowsource is a cursor of all Software.
>>
>>Don't touch combo.controlsource, it should use column.controlsource
>
>I'm not really follow. In my main table I have the following fields:
>
>iProblem_Code I (ID field)
>mDescription
>iSoftware_Code I
>...
>
>Now, in the grid I need to show cSoftware (the related info from other table).
>
>How can I change my values in comboboxes and show information in a grid correctly?
>
>Thanks again.

Software column should have controlsource='software_code', and combobox within the column should have 2 fields in rowsource (description,code) with combo.boundcolumn=2
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform