Good day
I have a combo displaying the result of a query sorted by description.
I have a button that allows the sort to be by Code.
I use this code:
COMBO_VendorFrom..BrowsedFile = ""
COMBO_VendorFrom..DisplayedItem = ":QRY_Vendors.VCode"
COMBO_VendorFrom..StoredItem = ":QRY_Vendors.VendorCode"
COMBO_VendorFrom..BrowsedFile = ":QRY_Vendors"
But the combo list is empty after the code above is run.
When I do the same, displaying the data from an array, it works 100% but not from a query.
The help says it is best to:
1.Stop the browse by assigning an empty string ("") to ..BrowsedFile.
2.Modify the relevant properties.
3.Restart the browse with ..BrowsedFile.
Any ideas please.
Thanks in advance
Ericus Steyn