MySQL_AddTextParameter

4D - Documentation   Français   English   German   4D For MySQL, Command Theme List   4D For MySQL, Command Alphabetical List   Back   Previous   Next

version 2004


MySQL_AddTextParameter (connID; key; paramValue)

ParameterTypeDescription
connIDLongintConnection ID returned by MySQL_Connect
keyStringString which will be replaced in the SQL query
paramValueTextText value to be substituted for the key

Description

The MySQL_AddTextParameter command replaces a key with a Text (paramValue) that you can use from your SQL query instead of the value itself.

connID is a Longint returned by MySQL_Connect.

key is a String in the Select or Execute statement that will be replaced by paramValue at the time of execution.

paramValue is the Text value that will replace key at the time of execution.

Note that this call to MySQL_AddTextParameter will also add quotes around the text, and add MySQL escape sequences for handling values with quotes.


4D - Documentation   Français   English   German   4D For MySQL, Command Theme List   4D For MySQL, Command Alphabetical List   Back   Previous   Next