Did anybody out there modify the xHarbour rdd_ads contrib files to support NChar fields in the adsCreateFields procedure?

asked 16 Oct '13, 15:34

Jack's gravatar image

accept rate: 14%

With some help from code https://github.com/harbour/core I was able to figure it out and modified my ads1.c file to support ADS_NCHAR fields.

Modified functions are adsCreateFields, adsFieldInfo and adsCreate.

If anyone can shed some light on why dbStruct which uses adsFieldInfo to return an array of all fields returns "D" (Date) as the field type, and I needed to modify the "case HB_FT_DATE" section in adsFieldInfo to check for pField->uiTypeExtended == ADS_NCHAR.


answered 17 Oct '13, 11:05

Jack's gravatar image

accept rate: 14%

Your answer to the original question.
If responding to a request for additional information, please edit the question or use the comment functionality.
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 16 Oct '13, 15:34

Seen: 1,497 times

Last updated: 17 Oct '13, 11:05

Advantage Developer Zone Contact Us Privacy Policy Copyright Info

Powered by Advantage Database Server and OSQA
Disclaimer: Opinions expressed here are those of the poster and do not necessarily reflect the views of the company.