473,785 Members | 2,910 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Escape characters going into MySQL from FileMaker

I'm trying to use an SQL plug-in to synch. FileMaker (FM) with a MySQL
DB. All is going great EXCEPT my FM text fields. If I have any special
characters in my FM text field, they foul-up the INSERT/UPDATE query
and produce an error.

For example, in the following sentence in the FM field:

I'm happy!

The information needs to go into the MySQL column as:

I\'m happy!

The \ "escapes" out the ' so that it doesn't foul up the SQL. I'm
aware of the substitute function in FM, but there are many characters
that have to be escaped and using that function seems cumbersome to do
so. In PHP there's a function called addslashes that will take care of
this for you. Does anyone know of a similar function or method within
FM? Likewise, I can also call MySQL functions, however I'm restricted
to those available in MySQL 3.23.43.

Thanks!
Jul 19 '05 #1
0 2864

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1086
by: Geoffrey | last post by:
I'm trying to use an SQL plug-in to synch. FileMaker (FM) with a MySQL DB. All is going great EXCEPT my FM text fields. If I have any special characters in my FM text field, they foul-up the INSERT/UPDATE query and produce an error. For example, in the following sentence in the FM field: I'm happy! The information needs to go into the MySQL column as:
0
1180
by: CRB | last post by:
We specialize in converting Filemaker solutions to web solutions using MySQL and ASP. We have found that using MySQL & ASP for web solutions, provides a 200% performance increase on average. Most conversions can be made rather quickly and inexpensively depending on the scope of your solution. Contact us at info@infotechsystemsgroup.com if you have any questions or to request a hassle free proposal.
3
2249
by: Guadala Harry | last post by:
I'd like to know the answer to the following question so I can know what to expect with regard to other similar uses of escape characters and strings. While everything works fine - I'd like to know specifically why: I am building a simple HTML table in my C# code-behind by concatenating strings that contain different parts of the table and table content... something like this: string myTable = "<table width=\"100%\" border=\"0\"...
16
3344
by: sudhir | last post by:
hi how to check escape key is pressed when accepting the string as input. Because I do not want to receive a string if user presses the ESCAPE key.. I used ascii code for comparision but I didn't get any fruitful results. Please help me.
1
11646
by: el chupacabra | last post by:
Everytime I want to enter to a textbox area "it's fun" (no quotes) I get an error. "Problems with Query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's fun'" I need to enter " it\'s fun" (no quotes) in order for MySql accept it. Any work arounds on escape characters? How can I have mySQL just take "it's fun" just like that? --------------= ...
15
18321
by: pkaeowic | last post by:
I am having a problem with the "escape" character \e. This code is in my Windows form KeyPress event. The compiler gives me "unrecognized escape sequence" even though this is documented in MSDN. Any idea if this is a bug? if (e.KeyChar == '\e') { this.Close(); }
3
8665
by: qilin | last post by:
I am trying to save a big text string into MySQL, but I guess i need escape the string firstly, anybody knows any escape function in c for that? or any other suggests ?
2
2759
by: sklett | last post by:
I'm having some trouble storing a string in my settings file that contains escape characters. If I enter "This is the first line\r\nand this is the second line." When I retrieve the string from the settings file I get: "This is the first line\\r\\nand this is the second line." It seems to think it's a path or something? Anyone else dealt with this before? I googled the problem but didn't find anything (so far).
4
1985
by: beary | last post by:
Hi all, Is it possible to 1) export (and force download) of multiple mysql tables to 1 excel file with multiple sheets or 2) export (and force download) of 1 mysql table to a filemaker pro file
2
3308
by: | last post by:
I mainly work on OS X, but thought I'd experiment with some Python code on XP. The problem is I can't seem to get these things to work at all. First of all, I'd like to use Greek letters in the command prompt window, so I was going to use unicode to do this. But in the command prompt, the unicode characters are displaying as strange looking characters. I tried installing the 'Bitstream Vera Sans Mono' font in hopes it had all the...
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10327
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10151
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9950
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6740
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5381
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4053
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2879
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.