Hi,
I'm seeking to show a table that exists but just want to redraw or reshow a form with slightly different data in the in-memory dataset.
I get a 'form name already exists' error.
I can redraw the table if I show the form and then cancel because then I have access to the table and can remove it from the view.
The table is pre-built but is shown on request. Changing the data throws the error. It seems I cannot dispose of an in-memory data set programmatically. My last bit was through datasource.mem['xxx'].getFoundSet and clear, which didn't release the form to clear from history. My next step would be to momentarily show the view and cancel out since it is the view that is attached to the datasource. With that I may as well just drop out and recreate the view with a diff datasource, leaving the other hanging around.
What is the best way to reshow a form which you cannot remove from history?
I could regenerate the dataset with a new datasource name but that seems awkward and wasteful. It would be nice to dispose of the memory the other takes up already.
thanks,
--Joe.