Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox causes skip in master table
Message
From
20/10/1998 16:22:25
 
 
To
20/10/1998 16:11:12
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00148279
Message ID:
00148638
Views:
18
I don't consider it's a bug. It's pretty natural to expect that moving through list items will force record pointer to move, at least nobody complains about browsing, which is very similar.

>Hi Ed:
>
>I think you hit the nail on the head concerning moving the record pointer in the master table -- but IMHO this sure seems like a VFP bug if true... What I'm choking on is that there is no relation set between the master table and the picklist used by the combobox field...
>
>I'll try to use the picklist as a cursor, and see if that solves the problem -- but I'm not confident, as it seems the same problem will happen...
>
>Thanx for the info. I'll post my results when I can get back out of the managerial/red-tape mess I've gotten into since this morning...
>
>Rob
>
>>
>>I don't know what you're actually doing with combo, but there are some things which might help you. When you drop combo and move through list portion items, you actually move record pointer in combo.rowsource, and it may harm other parts of your application/form which may use the same work area/alias, especially if you use bound controls and/or temp relationships. The safer method is to populate combo either from cursor or even using AddItem (if you have few items).
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform