Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Oh my gosh... I can't believe it!
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Oh my gosh... I can't believe it!
Miscellaneous
Thread ID:
00465510
Message ID:
00465510
Views:
32
A few months ago we updated our app to VFP6 from VFP5. A form used to add records has worked perfectly in VFP5 however, we suddenly found that the drop down combo boxes are not being updated as the user adds new records in our VFP6 version. I have verified that the code DID NOT change, but VFP6 will not update the array for the rowsource of the combo box. Here's a brief summary...

Form Property:
laac[1,1]

Combo Box Rowsource:
THISFORM.laac

Combo Box RowType:
array

After adding each new record we do this:
select distinct field1,field2 from file into thisform.laac

If you drop down the combo box, it does NOT contain the most recently entered data into field1 and field2. HOWEVER, the array, thisform.laac, is properly updated.

If I attempt to update the rowsource with:
thisform.cboLAAC.rowsource = thisform.laac

I end up with nothing in the drop down combo box. I've tried just refreshing the combo box, but nothing that worked in VFP5 seems to work in VFP6.

Any and all suggestions are greatly appreciated! I really need to resolve this quickly since we have a number of users who are wondering what gives...

Thanks.
John Fatte'

Life is beautiful!
Next
Reply
Map
View

Click here to load this message in the networking platform