Hi,
It would be nice to make a function from this procedure and return false if it wasn't able to do the task.
Or raising an exception.
.AddWhere()
Re: .AddWhere()
Please specify in more detail what you mean. For example, if you want to check the syntax of the final SQL query, then you can call the TUniQuery.Prepare method. If this SQL query won't correspond to the syntax, UniDAC will return an error from the server.