Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting combobox to always display column 2
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00403289
Message ID:
00403423
Views:
12
What I want to avoid is changing the column sequence. I have a generic GetDataToCursor() function that populates a R/W cursor with data from the specified table to a cursor according to specified criteria. This will then return PK as column1 (as it appears in table) and I have column1 width as zero. I don't want to then mess about with the column sequence in the cursor.
I'm going to have a go at putting the fields in the rowsource instead - I think that will get over my problem. Thanks,

>>I do the following when using a combo for foreign keys.
>>
>>Set the fk to the last column (3 in your case)
>>Set that as the BoundColumn
>>Set ColumnCount to 3
>>Set ColumnWidths to something like 50,100,0 <-- note the fk has zero width
>>Set Boundto = .T.
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform