Board index » delphi » Change the table language of an existing table.

Change the table language of an existing table.

Hello,

I want change the language table directly in delphi of an existing Paradox 7
table.
It's because i have special characters not supported by my current language
table.

Thanks in advance for you help

Pierre VIAL

 

Re:Change the table language of an existing table.


Quote
"TRINUM" <p...@trinum.com> wrote in message news:3ab9aa9a_2@dnews...
> Hello,

> I want change the language table directly in delphi of an existing Paradox
7
> table.
> It's because i have special characters not supported by my current
language
> table.

> Thanks in advance for you help

> Pierre VIAL

Re:Change the table language of an existing table.


Quote
> I want change the language table directly in delphi of an existing Paradox
7
> table.
> It's because i have special characters not supported by my current
language
> table.

See Example 8 on this page:
http://www.borland.com/devsupport/bde/bdeapiex/dbidorestructure.html
for an example of using the dbiDoRestructure procedure.

When you call the RestructureTable procedure shown on this page, call it
with the following arguments:
RestructureTable(aTable, 'LANGDRIVER', 'DBWINUS0');
where:
  aTable is a TTable component configured for the table you want to change.
  'LANGDRIVER' should remain as is.
  'DBWINUS0' can be changed to give the table a different language driver.

To get a complete list of language driver names that can be used to replace
the 'DBWINUS0' argument, check out the Borland Database Engine Online
Reference Help File that comes with Delphi or BC++ (bde32.hlp).  In the
Index, look up "Language Drivers" and select that topic.  It will show you a
complete list of language driver strings that can be specified when calling
the RestructureTable function.  Use the string in the "Short Name" column of
the chart shown in the help file.

Hope this helps...
--
Vinnie Murdico
The BDE Support Page
http://www.bdesupport.com

Re:Change the table language of an existing table.


Hello,

Thanks for your prompt reply.

It's ok.

Best Regards,

Pierre VIAL
TRINUM

"Vinnie Murdico" <vin...@softwarewithbrains.com> a crit dans le message
news: 3abf8ad3_2@dnews...

Quote
> > I want change the language table directly in delphi of an existing
Paradox
> 7
> > table.
> > It's because i have special characters not supported by my current
> language
> > table.

> See Example 8 on this page:
> http://www.borland.com/devsupport/bde/bdeapiex/dbidorestructure.html
> for an example of using the dbiDoRestructure procedure.

> When you call the RestructureTable procedure shown on this page, call it
> with the following arguments:
> RestructureTable(aTable, 'LANGDRIVER', 'DBWINUS0');
> where:
>   aTable is a TTable component configured for the table you want to
change.
>   'LANGDRIVER' should remain as is.
>   'DBWINUS0' can be changed to give the table a different language driver.

> To get a complete list of language driver names that can be used to
replace
> the 'DBWINUS0' argument, check out the Borland Database Engine Online
> Reference Help File that comes with Delphi or BC++ (bde32.hlp).  In the
> Index, look up "Language Drivers" and select that topic.  It will show you
a
> complete list of language driver strings that can be specified when
calling
> the RestructureTable function.  Use the string in the "Short Name" column
of
> the chart shown in the help file.

> Hope this helps...
> --
> Vinnie Murdico
> The BDE Support Page
> http://www.bdesupport.com

Other Threads