gou_name
This commit is contained in:
parent
2b6d2c161b
commit
b10fae4f86
@ -417,7 +417,7 @@ var
|
||||
OptionValue: String;
|
||||
begin
|
||||
|
||||
SQL := 'select name,value from options where name in (''GOU_Name'',''Dep_Name'')';
|
||||
SQL := 'select name, convert_from(value,''WIN1251'') as value from options where name in (''GOU_Name'',''Dep_Name'')';
|
||||
with NidbData.GetData(sql) do
|
||||
try
|
||||
while not eof do
|
||||
@ -430,7 +430,7 @@ begin
|
||||
end;
|
||||
for i := 1 to 5 do
|
||||
AVariables['GOU_Name'+inttostr(i)] := AVariables['GOU_Name'];
|
||||
with NidbData.GetData('SELECT name,value from options WHERE name like ''GOU_Name%'' ') do
|
||||
with NidbData.GetData('SELECT name,convert_from(value,''WIN1251'') as value from options WHERE name like ''GOU_Name%'' ') do
|
||||
try
|
||||
while not eof do
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user