Hi together,
I am looking for functions to handel SQL insert and update like
Function FieldType(RecordsId as String, Field as String) as Strng
and
Function FieldDim(RecordsId as String, Field as String) as Integer
(s. MySQL Referancemanual 24.2.1 C-API: Datentypen - MYSQL_FIELD http://dev.mysql.com/doc/refman/5.1/de/c-api-datatypes.html)
With this functions it is posible to automate wirting data in an SQL Database and evaluate i.e. if the datafield is String or a date or datetime the value must given in a string compatible form and the length of the value must less or equal then the length of the datafield. Also numaric value will transfer in the right form with this functions.
Is it possible to program those functions do it yourself or must be necessary this as built in functions in kbasic?
/PMan