About Store Forum Documentation Contact
Donations:
345$/mo



Post Reply 
TextNode asText function update
Author Message
Lancer Offline
Bronze Supporter

Post: #1
TextNode asText function update
Hello,

Im currently working with the TextData, TextNode function and MySQL.
For MySQL connection, I need to have a "driver". The driver is called "MySQL ODBC 8.0 Unicode Driver".

So, I have a config file, "driver=MySQL ODBC 8.0 Unicode Driver", but with "asText" I only get "MySQL" (I guess its because at space it stops).

Is it possible to add/modify asText, so it reads everything until end of line?

Greetings
02-09-2019 07:59 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: TextNode asText function update
Hi,
The problem is you haven't used TextData.save method but created the config file externally. To encode string values with spaces you need to surround them with `
Example:
Name=`value with spaces`
02-10-2019 07:54 AM
Find all posts by this user Quote this message in a reply
Lancer Offline
Bronze Supporter

Post: #3
RE: TextNode asText function update
Hello,

thank you. It's true. I only used the .save function once so I know how the file is stored and made everything else myself.

Now it's working fine.

Thanks
02-10-2019 11:35 AM
Find all posts by this user Quote this message in a reply
Post Reply