LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (February 2004, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 27 Feb 2004 15:16:41 -0500
Reply-To:     Howard Schreier <Howard_Schreier@ITA.DOC.GOV>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Howard Schreier <Howard_Schreier@ITA.DOC.GOV>
Subject:      MS Access DDE Selectively Quotes Strings

I'm using dynamic data exchange (DDE) to read text strings from a Microsoft Access database into SAS. If (and only if) Access sees a quotation mark in any text value, it quotes the value and doubles the original quotation marks.

For example,

A "funny" result

becomes

"A ""funny"" result"

I know it's happening on the Access side because I've dumped the _INFILE_ variable and I see the extra quotation marks.

I'd like to find a way to inhibit MS Access from doing this.

Next best would be a simple way to have SAS undo it, like a $QUOTE informat or an UNQUOTE function (neither of which seems to exist).

Last resort will be to use SUBSTR, TRANWRD, and so forth to undo it. I know how to do that. I'd just prefer to avoid it.


Back to: Top of message | Previous page | Main SAS-L page