ORA-01475 must reparse cursor to change bind variable dataty

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
lior
Posts: 36
Joined: Mon 01 Aug 2011 07:11

ORA-01475 must reparse cursor to change bind variable dataty

Post by lior » Tue 06 Sep 2011 13:55

Hello,
I connect TOraTables in a master-dtail connections. The Oratables are on a Datamoudule and edit is done inside a form created and destroyed dynamically.
I got ORA-01475 in different places in the code. For example when mastersource.enabled:=True.
I then set AutoPrepare:=True to all the detail TOraTables and now I get that error when the form is recreated again and I try to open the TOraTables or enable the mastersource.
Is there a way to make sure all the TOraTables are unprepared and cleaned from previous ties?
I use Oracle 8.1.7 and ODAC 7.20.0.7 Trial edition for Delphi 7

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Post by AlexP » Wed 07 Sep 2011 12:12

Hello,

Please send a small application demonstrating the problem and a script to create and fill tables to alexp*devart*com

Post Reply