Recent

Author Topic: Error: Identifier not found "tiReadCommitted"  (Read 1662 times)

Nju

  • Newbie
  • Posts: 1
Error: Identifier not found "tiReadCommitted"
« on: October 21, 2019, 03:35:14 pm »
Hey,
I'm little bit confused. I would change the TransactIsolationLevel of a ZEOS-Connection (lib-version: 7.2.0.0 from the repository) per code like this:

Code: Pascal  [Select][+][-]
  1. myConnection.TransactIsolationLevel := tiReadCommitted;

When I press "compile" now I get the error-message above in the title of this thread. I know in this case a unit is missing in the "uses"-list, but which one I need?

Best regards

Thaddy

  • Hero Member
  • *****
  • Posts: 14159
  • Probably until I exterminate Putin.
Re: Error: Identifier not found "tiReadCommitted"
« Reply #1 on: October 21, 2019, 04:01:12 pm »
Add ZDbcIntfs to the uses clause.
Specialize a type, not a var.

 

TinyPortal © 2005-2018