 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
drew
Joined: 05 Dec 2007 Posts: 2
|
Posted: Wed Dec 05, 2007 7:36 pm Post subject: MDB2 escape question |
|
|
I just started using the MDB2 library and I'm trying to use it in our form creation tool. The tool stores templates in an SQL Server 2000 database. The templates contain HTML and field placeholders which look like %FIELD_fieldName%. If I use the MDB2 escape function on these templates I end up with extra brackets([,]) around the % and _ symbols.
I can see that these are the wildcards defined in MDB2_Driver_Common. I'd like to use the escape function to take care of any single quotes that are in the strings, but I can't have all these extra brackets that keep multiplying each time a template is saved.
My question is, what is the correct way to store strings with wildcard characters using MDB2? Do I need to not use the escape function or is there a corresponding unescape that I need to use when I retrieve the data?
Thanks for your help,
Drew |
|
| Back to top |
|
 |
mark

Joined: 07 Jan 2007 Posts: 1053
|
|
| Back to top |
|
 |
drew
Joined: 05 Dec 2007 Posts: 2
|
Posted: Wed Dec 05, 2007 9:57 pm Post subject: |
|
|
Yes, that is what I needed.
Thanks |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|