Results 1 to 3 of 3

Thread: Listbox and user-defined data type

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 1999
    Location
    Flagstaff, Arizona, USA
    Posts
    4
    Code:
    Private Type eventdata
        Title As String
        Comment As String
        Order As Integer
        Text As String
    End Type
    Private myday(10) As eventdata
    I have my myday array(which is populated by data from my DB) and I have my lstevent(A listbox with items that correlate with myday(?).Title)

    Now the problem, when I try and change the position(priority) of an item in lstevent, and try and update myday(?).Order all the data gets messed up. And to myday(?) end up with the same data, but I can't figure out why.

    I was hoping someone had an example of how do something similar.

    Thanks for any help

    [Edited by fred_dead on 08-10-2000 at 11:59 PM]

  2. #2
    Fanatic Member
    Join Date
    Jan 1999
    Location
    UK
    Posts
    554
    DAY is a keyword, try to change the name of your array to MyDay or something else

    DocZaf
    {;->

  3. #3

    Thread Starter
    New Member
    Join Date
    Mar 1999
    Location
    Flagstaff, Arizona, USA
    Posts
    4

    Unhappy

    Thanks, but that's not the problem, although the day should have caused someting else to go wrong, right?

    [Edited by fred_dead on 08-10-2000 at 07:43 PM]

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