Inserting to SQL from FiveWin

Inserting to SQL from FiveWin

Postby byron.hopp » 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
byron.hopp
 
Posts: 385
Joined: Sun Nov 06, 2005 3:55 pm
Location: Southern California, USA

Re: Inserting to SQL from FiveWin

Postby nageswaragunupudi » Sat Aug 06, 2022 4:13 am

MSSQL ?
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10658
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Inserting to SQL from FiveWin

Postby nageswaragunupudi » Sat Aug 06, 2022 4:13 am

MSSQL ?
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10658
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Inserting to SQL from FiveWin

Postby byron.hopp » Sat Aug 06, 2022 2:45 pm

Yes Microsoft SQL Server 2012.
Thanks,
Byron Hopp
Matrix Computer Services
byron.hopp
 
Posts: 385
Joined: Sun Nov 06, 2005 3:55 pm
Location: Southern California, USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 14 guests