Op maandag 26-11-2007 om 13:17 uur [tijdzone +0100], schreef Daniel
Rincón García:
> Hi, I need to capture the FieldValues of a SQLite database into a
> string variable.
> 
> If I do it:
> 
>    while not dsTest.EOF do
>     begin
>      DataToSend := DataToSend + 
>                             dsTest.FieldValues ['Code'] + '\' +
>                             dsTest.FieldValues['Name'] + '\' + 
>                             dsTest.FieldValues['Address'] + '#';
>      dsTest.Next;
>     end;    
> 
> I have got the next error message:
> 
> Project raised exception class 'RunError(231)'.

Use .asstring as mentioned elsewhere, and submit a bug
(http:/www.freepascal.org/mantis, fpc-project) because what you do
shouldn't give this error.

Joost.

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to