при исправлении версии с 1 на 3-ю выдает вот такой отчет об ошибке:
invalid request BLR at offset 445
function IND_GETTEXTPATTERN is not defined
module name or entrypoint could not be found
C:\DOCUME~1\1\LOCALS~1\Temp\SQL\2.0\L\T\tables.sql
CREATE PROCEDURE L_UPD_INDTYPE___
AS
declare variable id1 integer;
declare variable idparent integer;
declare variable idparent1 integer;
declare variable indtype varchar(50);
declare variable orderview integer;
begin
/* sbornik ( month ) */
for select r.idparent, r.indtype, r.orderview
from B_REESTR r
where r.rabmat = 100 and r.sbornik = 1 and
r.orderview >= 1 and r.orderview <= 12
into idparent, indtype, orderview
as cursor reestr_cur
do
if ( ( not idparent is null ) and ( idparent <> 0 ) and
( ( indtype is null ) or ( indtype = '' ) ) ) then /* !!! */
/* year */
for select first 1 idparent
from B_REESTR r
where r.ID = :idparent and r.rabmat = 100 and r.sbornik = 0
into idparent1
do
if ( ( not idparent1 is null ) and ( idparent1 <> 0 ) ) then
/* organiz */
for select first 1 id
from B_REESTR r
where r.ID = :idparent1 and r.rabmat = 100 and r.sbornik = 0
into id1
do
begin
/* call Dll */
update B_REESTR
set indtype = IND_GETTEXTPATTERN ( 0 )
where current of reestr_cur;
end
end
[/img]
КАК С ЭТИМ БОРОТЬСЯ?