FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Inserting to SQL from FiveWin
Posts: 408
Joined: Sun Nov 06, 2005 03:55 PM
Inserting to SQL from FiveWin
Posted: Fri Aug 05, 2022 10:15 PM

I am attempting to store strings that are a part of a customer_Data database. Some of the customers are from other parts of the world. I am having problems inserting special characters like the National Language Character Set. I am modified my insert strings to place an "N" before the character string i.e. Values (N'4063 HÖRSCHING) where the 'O' in word would have two dots above it. I have also tried creating a new table with using nvarchar instead of varchar, nchar instead of char etc... This did not help as well. If I run the insert query from inside Microsoft Sql Management Studio it seems to work find, and the character is correct when selected back. Is there something I need to set on ADO Recordset object to correct this problem, or is this related to FiveWin.

Insert into Customer_Data (CUSTOMER_NUMBER,CUSTOMER_NAME,ATTENTION,ADDR_LINE1,ADDR_LINE2,CITY,STATE,ZIP_CODE,COUNTRY_NAME,AREA_CODE,PHONE_NUMBER) Values (N'AC01',N'ACS PROJECTS GMBH',N'FLUGHAFENSTRASSE 3',N'CARGO TERMINAL #5',N'4063 HÖRSCHING , AUSTRIA',N'',N'',N'',N'AUT',N'',N'');

Thanks,

Thanks,

Byron Hopp

Matrix Computer Services
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Inserting to SQL from FiveWin
Posted: Sat Aug 06, 2022 04:13 AM

MSSQL ?

Regards



G. N. Rao.

Hyderabad, India
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Inserting to SQL from FiveWin
Posted: Sat Aug 06, 2022 04:13 AM

MSSQL ?

Regards



G. N. Rao.

Hyderabad, India
Posts: 408
Joined: Sun Nov 06, 2005 03:55 PM
Re: Inserting to SQL from FiveWin
Posted: Sat Aug 06, 2022 02:45 PM

Yes Microsoft SQL Server 2012.

Thanks,

Byron Hopp

Matrix Computer Services

Continue the discussion