October 30, 2025, 05:21:31 PM

News:

IWBasic runs in Windows 11!


Snippet Manager minor problem

Started by billhsln, May 03, 2011, 11:46:45 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

billhsln

It seems that the Snippet Manager does not like ' (single Quote marks) in file names.

Bill
When all else fails, get a bigger hammer.

LarryMc

was it in a iwb/eba file or in another file name?

LarryMc
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

LarryMc

My initial thought is that the ' is messing up the sql strings I create on the fly to work with the database.

LarryMc
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

billhsln

It is in the file name.  I would guess that you are right about the SQL.  When loading the program to keep track of my Grandson's Pokemon, they have (') single quotes in some of the names.  What I did was when writing into SQL, I changed them to a ~ (tilde) char, then when reading back from SQL I convert back to (') single quote.  I know, if they ever decide to have a ~ (tilde) in the Pokemon name, then I am screwed, but it works ok for now.

What I did was remove the (') single quote from the file name and then pulled it in and it worked ok.

Bill
When all else fails, get a bigger hammer.