That is not going to work with a list box. I would suggest, instead, you use
a subform. Add a DeliveryOrder field to your table and include it in the
subform so the user can enter the order there.
hmmm..... a sub form would not really be practical with the form I am making,
but I think I found a pretty good way of doing this, that does not involve
drag and drop.
I have a hidden, unbound text box in the form that starts out with the value
one. When I double click a delivery in the list box, that record gets updated
with a position number equal to that in the text box. After each double click
in the list box, the number increases by one.
The list box is sorted by that position number, of course.
There is also a reset button if I would like to change the order of the
deliveries.
Any comments? Is this a too roundabout way of doing things?
Baard
> That is not going to work with a list box. I would suggest, instead, you use
> a subform. Add a DeliveryOrder field to your table and include it in the
[quoted text clipped - 12 lines]
> >
> > Baard
Klatuu - 21 Nov 2006 15:14 GMT
I don't see any problem with that.
> hmmm..... a sub form would not really be practical with the form I am making,
> but I think I found a pretty good way of doing this, that does not involve
[quoted text clipped - 30 lines]
> > >
> > > Baard