If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Passing large (memo) strings to stored (ACCESS) sql

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-03-02, 07:43
WraithOfDark WraithOfDark is offline
Registered User
 
Join Date: Oct 2002
Posts: 7
Passing large (memo) strings to stored (ACCESS) sql

This is a hypothetical execute string.
Str_Post will contain a diverse range of characters including, but not limited to, quotes and commas.
Is there a way I can pass Str_Post to the stored SQL without heavily voilating the exec string syntax?
I have considered 'url encoding' it but that would require it to be decoded on the other end (which should be possible) but is this a good way to do so?

Execute code below, where con is the open database connection object.

' exec string
execStr = "exec qry_update '" & Str_Post & "'"
' executing stored procedure
Set rs = con.Execute (execStr)
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On