George Wynne
2003-07-21 22:04:37 UTC
Hi all,
I'm considering a conversion from BDE to ADO in D7. I've gleaned from help
and other posts that I'll need to do something like the following:
- replace TDatabase with TADOConnection
- search and replace TQuery with TADOQuery in the dfms
- change ParamData with Parameters in the dfms
- change Params to Parameters, and ApplyUpdates to UpdateBatch(arCurrent) in
the .pas files
- make sure LockType = ltBatchOptimistic where previously CachedUpdates =
true
- somehow replace my TUpdateSQL components with some other updating
mechanism (client dataset?) - I'm pretty fuzzy on this one
So, I need to know what is the easiest way to convert all those TUpdateSQL
components to something else. And let me know if there is anything I'm
missing or misunderstanding in my basic list of things to do.
Thanks,
George
I'm considering a conversion from BDE to ADO in D7. I've gleaned from help
and other posts that I'll need to do something like the following:
- replace TDatabase with TADOConnection
- search and replace TQuery with TADOQuery in the dfms
- change ParamData with Parameters in the dfms
- change Params to Parameters, and ApplyUpdates to UpdateBatch(arCurrent) in
the .pas files
- make sure LockType = ltBatchOptimistic where previously CachedUpdates =
true
- somehow replace my TUpdateSQL components with some other updating
mechanism (client dataset?) - I'm pretty fuzzy on this one
So, I need to know what is the easiest way to convert all those TUpdateSQL
components to something else. And let me know if there is anything I'm
missing or misunderstanding in my basic list of things to do.
Thanks,
George