The problem seems to be in your code. It seems to me that while setting up
the values for the elements of the table you have either hard coded
something or you are using the same record element from your database to
populate all the table elements. Remeber the same LOOP element is not going
to be used for every row :-) . Its a case of classical silly mistake :-D

Khurram+

----- Original Message -----
From: Ravindra <[EMAIL PROTECTED]>
To: Palm Developer Forum <[EMAIL PROTECTED]>
Sent: Friday, June 22, 2001 1:04 PM
Subject: Facing Table Problem.............


> Hi EveryBody ,
>  I am new to palm development , that's why facing lot of problems can
> anybody help
> me ?
>
> I've got a problem with handling Palm OS tables. I've got a table with 3
> rows and 4 columns.3 columns are filled with static data and only one of
the
> columns contain field data from a database record. I've kept one column as
> numeric type and rest all Label type. Now, I retrieve 3 records which are
> currently there in the database and in a loop try to display a
> particularfield in one of the table's columns.
>
>
>  I find that the the column containing database data always displays the
> last record's data
> in all the rows. All the other columns are displaying data as required.
I'm
> printing them in
> an Alert also, where all the record data in the loop are changing as in
the
> database, but finally in the table column only last record's field value
is
> being dispalyed.
>
>
> Also, I've got another form having FIELDS showing various fields of the
> database. Here I can see my record's fields one by one by using NEXT and
> PREVIOUS buttons on this form. So, this means that the database retrieval
is
> working fine, I presume. So then why only the last record's field values
are
> being dispalyed in all the rows of the table? Strange !!
>
>
> I've tried many different ways to tackle this problem but with no success.
> Please let me know if you can help me out. Logically allz fine, but
somehow
> something isn't working.
>
> So can u help me solve this by sending me any code .
>
> Thank you very much in advance
>
> Bye
>
> Regards
>     Ravi
>
>
>
>
>
> --------------------------------------------------------------
> Nova Software, Mumbai, India
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to