Results 1 to 8 of 8

Thread: [2005] List Box Up/Down and Updates

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2007
    Location
    Iowa
    Posts
    298

    [2005] List Box Up/Down and Updates

    I have 3 list boxes.

    1 contains every report that is in a sql database.

    The other contains Reports for the specific types of Correspondence (which is the 3rd listbox).

    1 Box for different types of Correspondence.
    1 Containing Every Report.
    1 Containing the Selected Reports for the given Correspondence.

    These are all Bound.

    My problem is that the 3rd list box. Which is the one that contains the selected reports for the different correspondence. Will not let me change the order of the list. Moving items up and down the list because they are sorted by a 'print_order'. My only goal in this project is for the user to be able to change the print order of these reports. But they can't have the same print order.

    Is there anyway to load this list, then get rid of the bindings, change the order then click a save button that will recognize the order the list is in and set that as the print_order?

    This is very hard to explain, but I can't figure this out.



    EDIT: The error message I get is, "Can't edit listbox when the dataSource is set" What is the best meaning easiest way to fix this.
    Last edited by tuber; Dec 17th, 2007 at 03:52 PM.
    Tuber

    "I don't know the rules"

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