Subject | Re: Dealing with connection loss |
---|---|
Author | |
Post date | 2017-07-11T08:53:20Z |
Rob,
That sounds good, but i would cater for user demands in the future. Maybe a report will be added in a year or two. Reporting and locating is similar, restart the whole job (in effect reinitiate the whole form and DM or try to pick up where left).
Regarding threading, in my scenario the most time-consuming event was establishing a connection *and* downloading / checking forms and "my own" metadata. That was the process i'd like users to be able to abort. Having the query open in a separate thread and then giving it over to the UI would be way more tricky.
Some people have shown (not IBO related, but it's the same) TDataset working in threads but it becomes very messy, IMHO.
/D