My code :
if dataset.IsEmpty then
DoSomething(x);
When 'if dataset.IsEmpty' runs l get the following error: 'Access violation at address xxxxxxxxx in module abc'
Why am I getting this error? I don't know the explanation of 'access violation' - can someone please explain this to me and help me avoid this error.
Thank you.