Em Andamento

Sort ListBox BUT index drives other functions, so must sync

Visual Basic 6, Underlying DB is Access 2003

I have a listbox that drives other functions on a dashboard. Users add trucks to a listbox, and then when the user clicks on the various other trucks in the listbox, other functions update to reflect the current truck's data in the dashboard. Currently, when a user adds a truck to the listbox, it gets added to the bottom of the listbox. I want that list box sorted (by 2 fields: Model, Configuration).

I tried changing the [url removed, login to view] property to true. That did sort the listbox. But now the other functions dependent on the listbox don't work. I believe this is probably due to the index. My functions for adding trucks to the listbox use the Configuration's ID as the index. Probably the other functions are referring to that as the index, whereas now that the ListBox is sorted, the indexes don't match up. I'M ONLY SPECULATING THIS IS THE CAUSE. I did not write this code, so I'm not sure how exactly the listbox adding and the other functions relate to each other. What I do know is that after making the listbox sort property true, the other data & functions don't work how they're supposed to.

I'm open to suggestions on how to fix this. The end goal is to sort the ListBox by Model, the Configuration and for all the other dependent functions to work off the currently selected Truck in the listbox at any given point. There are 2 points where the trucks get loaded into the listbox: when the user is just starting a new deal and adding trucks "live", and also when trucks get loaded from past deals stored in another table. The solution needs to make sure that it all works in both cases.

I am not a coder. I can only tweak other people's pre-existing code. So I'll need your help patching your code into my project. If you care to look at the code, the attached file has it. lstTruck is the listbox I'm referring to.

To avoid canned responses, please begin your bid response with "I know how to sort your listbox while making sure other functions still work off the correct index by ..."

Habilidades: Microsoft Access, Visual Basic

Ver mais: starting with visual basic, sort sort sort, sort sort, property id, how to make use cases, trucks, truck, patching, match making project, index, access points, list sorted, pre live, making help file, amp visual basic, file sort, sync code, sorted list, sync data, visual basic amp, sort list, live dashboard, access functions, sync fix, user dashboard

Acerca do Empregador:
( 11 comentários ) Bellevue, United States

ID do Projeto: #543382

Premiar a:

Markkalender

I know how to sort your list-box while making sure other functions still work off the correct index by ..Simply looking at code with no easy reference points is very hard. although the code in general looks very simply Mais

$60 USD em 1 dia
(1 Comentário)
1.6

7 freelancers estão ofertando em média $41 para este trabalho

schandraram

Hello - Please see PMB for details of my bid. Thank you. Chandra Ram.

$50 USD em 1 dia
(114 Comentários)
6.6
guoxinliu917

I know how to sort your listbox while making sure other functions still work off the correct index by .... I can do it for you. Please check my PMB. Thanks.

$30 USD in 0 dias
(28 Comentários)
6.0
Kryptora

"I know how to sort your listbox while making sure other functions still work off the correct index by ...", Hello, I am Visual Basic 6 programmer. For more details about your requirements please see your private PM. T Mais

$30 USD in 3 dias
(36 Comentários)
5.4
BSoftTech

I know how to sort your listbox while making sure other functions still work off the correct index by... I can fix this. Thanks, John

$30 USD em 1 dia
(2 Comentários)
3.2
ruchiashah

Please see PMB

$50 USD in 2 dias
(0 Comentários)
0.0
pmaulik142

Hi Friend Please see PM Thanks

$40 USD em 1 dia
(0 Comentários)
0.0