Not sure exactly how to phrase it, that's as close as I could come.
Have a curious problem that I am sure one of you can help me with.
Have an axf with a single layer of points with meter locations, the axf contains an EDITFORM.
I have the user select a meter point on the map and code to show the EDITFORM using the OnSelectionChanged and the featureproperties internal command. Works fine. All the field attributes show up correctly.
We have 2 custom buttons Next and Back which select the next or previous meter in the sequence for editing based on its sequence number. The sequence numbers are not necessarily in the same order as the record numbers.
What I want to happen is the data on the form for the current feature to be saved and the data for the newly selected feature to be displayed for editing.
I have code which correctly finds the next meter and selects it. The meter shows selected (highlighted) on the map and the OnSelectionChanged event fires which I test with a msgbox.
What I can't get to happen is the data on the form to change to the new feature.
I've tried closing the EDITFORM then clearing selection then reselecting, which I can do, but I can't get the EDITFORM to redisplay without manually clicking the featureproperties button. Even using the internal featureproperties command doesn't work the second time.
Any ideas?
Thanks, Keith