Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox and phantom record
Message
From
14/06/2007 15:48:43
 
 
To
14/06/2007 15:41:52
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Network:
Windows XP
Miscellaneous
Thread ID:
01233240
Message ID:
01233249
Views:
11
>>>>I have a combobox on grid with
>>>>
>>>>Column.Sparse = .f.
>>>>BoundColumn = 1
>>>>BoundTo = .f.
>>>>RowSourceType = Array
>>>>
>>>>Depending on value of another column of the grid the array of the combobox is loaded with different SQL, but always appear a phanton record (blank record) in the combobox.
>>>>
>>>>What am I doing wrong?
>>>
>>>Do you mean that combo.rowsource should be different for each record?
>>
>>The combo.rowsource is always with same name of the array.
>>
>>The contents of the array can be different for each record of the grid.
>>
>>This phanton record disappears after I choose one vale on combobox.
>
>In general, you cannot have different array contents for every record. How many records you have?

The array has 20 records in the maximum on each case (3 differents). The grid is empty I am inserting records on it.
Antonio Carlos Kleinübing
Systems Analyst
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform