Results 1 to 3 of 3

Thread: Problem with Listview

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2006
    Posts
    2

    Resolved Problem with Listview

    Hi, i having problem with the listview.

    i'm doing a submit form, input form user the listed out in the listview.
    like user insert their id, name, n hobi into the textbox. After press the 'ok' button it will display into the listview.

    The problem is when i need to save into the database. i cant save all the data into DB. i juz can select the record in de 1st col.
    How to select all the record in the listview. In MSFlexGrid can select it by
    = TextMatrik(MSFlexGrid.col, MSFlexGrid.row). How about in listview.

    I try to use array, but when i delete some inserted record the array will be empty. when submit to DB it will hav error.

    Any better idea or any coding that can select the record in the listview?

    Thank you for ur help.
    Last edited by Hack; Apr 20th, 2007 at 06:06 AM. Reason: Added RESOLVED to thread title and green resolved checkmark.

  2. #2
    Fanatic Member
    Join Date
    Jul 2006
    Location
    nasik,india
    Posts
    909

    Re: Problem with Listview

    u can select first column of ith row as listview1.listitems(i).text,
    then same row next columns by listview1.listitems(i).subitems(1) AS IT WILL GIVE 2ND COLUMN AND SO ON.
    WHETHER YOU SUCCEED OR FAIL IS NOT AS IMPORTANT AS WHETHER YOU TRIED YOUR BEST

  3. #3

    Thread Starter
    New Member
    Join Date
    Nov 2006
    Posts
    2

    Re: Problem with Listview

    Thank shukla,
    ur coding help me much.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width