Board index » delphi » Parameter LANGDRIVER(BDE) / CHARACTER SET

Parameter LANGDRIVER(BDE) / CHARACTER SET

I am using:
Oracle 8.0.4
Delphi 4.0

I created a simple table in Oracle and I created an index on a field
varchar2 of this table.

When I associated this table to a DBGrid and set indexName property of
component TTable for index that I had created on the field varchar2, the
data in DBGrid they were duplicated...

I think that this happens due to configuration of LANGDRIVER(BDE) to be
different from CHARACTER SET of Oracle.

My CHARACTER SET in Oracle is adjusted for WE8ISO8859P1.

When I change LANGDRIVER in BDE for (ascii ' ANSI') the problem stops
happening.

Would like to know if it is correct to leave this configuration in
LANGDRIVER of BDE?

Which is the best configuration for these parameters?

Note: I using accent of Portuguese Language

I thank any comment...

Fbio

 

Re:Parameter LANGDRIVER(BDE) / CHARACTER SET


I always use the ascii ansi driver.  I had a sorting problem that was cured
by using it.  We use Oracle 7.3.4.

John

"Open Net Informtica Ltda" wrote:

Quote
> I am using:
> Oracle 8.0.4
> Delphi 4.0

> I created a simple table in Oracle and I created an index on a field
> varchar2 of this table.

> When I associated this table to a DBGrid and set indexName property of
> component TTable for index that I had created on the field varchar2, the
> data in DBGrid they were duplicated...

> I think that this happens due to configuration of LANGDRIVER(BDE) to be
> different from CHARACTER SET of Oracle.

> My CHARACTER SET in Oracle is adjusted for WE8ISO8859P1.

> When I change LANGDRIVER in BDE for (ascii ' ANSI') the problem stops
> happening.

> Would like to know if it is correct to leave this configuration in
> LANGDRIVER of BDE?

> Which is the best configuration for these parameters?

> Note: I using accent of Portuguese Language

> I thank any comment...

> Fbio

Other Threads