[fpc-pascal]MySQL question...

Rainer Hantsch rainer at hantsch.co.at
Thu Jul 4 08:36:37 CEST 2002


Hello, everybody!

Currently I am thinking about enhancing my MySQL unit, because it currently
does only a very simple way of querying. I use Michael's "mysql" unit and made
another "layer" on top of it, preventing me from doing too much particular
things repeatedly.

My biggest problem is that this mysql unit returns the data in form of an
array [0..n], which does not really make it easier to pick out a particular
field. So I want to write a function which gets a field name passed and
returns me the content. For that purpose I need to query the field names of a
table, but I do not know, HOW.

Can somebody help, please?


mfg

  Ing. Rainer Hantsch

-- 
      \\|//           Ing. Rainer HANTSCH  -  Hardware + Software
      (o o)           Forget Windoze! -- We focus on L-I-N-U-X...
--oOOo-(_)-oOOo--------------------------------------------------
Ing. Rainer HANTSCH  |  e-Mail: office at hantsch.co.at
Khunngasse 21/20     |  www   : http://www.hantsch.co.at
A-1030 Vienna        |  Tel.  : ++43 - 1 - 7988538 0 
---------------------|  Fax   : ++43 - 1 - 7988538 18
** AUSTRIA **        |  Mobile: ++43 - 664 - 9194382
-----------------------------------------------------------------





More information about the fpc-pascal mailing list