12-20-2022, 08:45 PM
First off, you are using dynamic_cast incorrectly. Use static_cast instead.
Second, I'm no IW expert (or even a user!), but it looks like your code may be trying to access the IWDBGrid columns before the ClientDataSet has populated the grid with any data. Have you tried hooking up the ClientDataSet to the IWDBGrid before executing the REST request?
Second, I'm no IW expert (or even a user!), but it looks like your code may be trying to access the IWDBGrid columns before the ClientDataSet has populated the grid with any data. Have you tried hooking up the ClientDataSet to the IWDBGrid before executing the REST request?

