Vextor
08-27-2004, 04:06 AM
I'm as new as a newbie gets to VB6 though I know some Javascripting ect I never really messed with "real" programming...
Now that that is settled here is what I am trying to accomplish.
I have a line up of listboxs set up with name age number feilds accross. I am making a database where I can add and remove and edit these fields. The two major problems I am haveing are as follows 1. I can't seem to find out how to get all the feilds in the same row to select when you select any of the feilds. 2. One field assigns a number to each person I need to be able to access a number that has been deleted again when adding a new person.
the program is basically a database.
on the first problem the example is
Number Name Age Weight
01 Smith, Josh 17 234
*02*****Doe, John***42****125
I want when I click on Doe,John or 42 or 125 the items to line up and all be selected so that I can click on edit and bring up all this information in my edit boxs.
on the second instance
Number Name Age Weight
01 Smith, Josh 17 234
02 Doe, John 42 125
04 Montana, Joe 54 109
When I add the next person to the list I want to be able to either make him 03 or 05 but not 01 02 or 03... without screwing up my arrays. would be happy with just being able to add 04 then 05 again.
Hope this is good enough explination. if not I can post what meager code I do have. I couldn't find this anywhere in the searches... but if you find it there I wouldn't mind getting a point that way either.
I think I posted this in the wrong section first ... sorry...
Now that that is settled here is what I am trying to accomplish.
I have a line up of listboxs set up with name age number feilds accross. I am making a database where I can add and remove and edit these fields. The two major problems I am haveing are as follows 1. I can't seem to find out how to get all the feilds in the same row to select when you select any of the feilds. 2. One field assigns a number to each person I need to be able to access a number that has been deleted again when adding a new person.
the program is basically a database.
on the first problem the example is
Number Name Age Weight
01 Smith, Josh 17 234
*02*****Doe, John***42****125
I want when I click on Doe,John or 42 or 125 the items to line up and all be selected so that I can click on edit and bring up all this information in my edit boxs.
on the second instance
Number Name Age Weight
01 Smith, Josh 17 234
02 Doe, John 42 125
04 Montana, Joe 54 109
When I add the next person to the list I want to be able to either make him 03 or 05 but not 01 02 or 03... without screwing up my arrays. would be happy with just being able to add 04 then 05 again.
Hope this is good enough explination. if not I can post what meager code I do have. I couldn't find this anywhere in the searches... but if you find it there I wouldn't mind getting a point that way either.
I think I posted this in the wrong section first ... sorry...