G
Guest
I have a sequence of buttons (8 in total) relating to various address fields.
I want to be able to push any given button (in any order) and fill in a blank
text placeholder field with the corresponding address field from that button
until all 8 buttons (or less) have been pushed, eventually creating a list of
addresses that combined to make for an A-B route list (which can just be 8
seperate fields, instead of one conactenated field).
So far so straight forward. If the buttons were to be pressed in 1,2,3…
fashion, I could simply instruct access to place them sequentially. But the
problem is that I want the user to be able to make their own random choices.
Which means that Access has to know that the first button pushed goes in the
1st address placeholder field, and the second button pushed goes in the 2nd
field, the third button goes to the 3rd field, and so on…
I figured that perhaps an IsNull function would be able to see which of the
next available fields were blank and fill in from there. My problem is that I
think this may need some kind of looping procedure, but I haven’t a clue how
to go about coding for this. I really don’t know where to start, I don’t know
if this can be doen via a table and query, or direct coding. I don’t even
know what kind of description to use for describing it or if I’m posting in
the correct forum(s). Can anyone help me, or maybe offer a simpler solution
to this problem?
I want to be able to push any given button (in any order) and fill in a blank
text placeholder field with the corresponding address field from that button
until all 8 buttons (or less) have been pushed, eventually creating a list of
addresses that combined to make for an A-B route list (which can just be 8
seperate fields, instead of one conactenated field).
So far so straight forward. If the buttons were to be pressed in 1,2,3…
fashion, I could simply instruct access to place them sequentially. But the
problem is that I want the user to be able to make their own random choices.
Which means that Access has to know that the first button pushed goes in the
1st address placeholder field, and the second button pushed goes in the 2nd
field, the third button goes to the 3rd field, and so on…
I figured that perhaps an IsNull function would be able to see which of the
next available fields were blank and fill in from there. My problem is that I
think this may need some kind of looping procedure, but I haven’t a clue how
to go about coding for this. I really don’t know where to start, I don’t know
if this can be doen via a table and query, or direct coding. I don’t even
know what kind of description to use for describing it or if I’m posting in
the correct forum(s). Can anyone help me, or maybe offer a simpler solution
to this problem?