Automatically Rename a Control Button

  • Thread starter Thread starter annoyed
  • Start date Start date
A

annoyed

Is there a way to have a preset number of command buttons, i.e., 1~10
and have the name be taken from a variable list, i.e.,
1 - Student 1
2 - Student 2
3 - Student 3

That way when the list changes, it will automatically rename the
command button appropriately.


Further Details:
We have a
1 - list of students that changes per year
2 - a command button which brings up each student by number


Right now, each control button is assigned a number and that number
brings up that student. I can bring the student up by their number on
a form (150 different command buttons, all coded)


PLUS there is an alphabetical list of students.


What I want to do is COMBINE the two and get rid of the list (to save
room). The list is used approx. 5% of the time.


I would like to name the buttons with the correct number that will be
fixed AND the students name that would be a variable pull from a table,

and have the buttons automatically change with the next roster of
students. This way I can get rid of the alpha list and hopefully
conserve some space.


Hints??
 
tina said:
same text as post "Automatically Name a Control Button", posted 4 minutes
earlier in this NG. please don't multi-post. see
http://home.att.net/~california.db/tips.html#aTip10 for more information.

hth


The original post was removed because I had not yet logged it.
I don't believe it took 4 min to catch the mistake so there must be a
delay on the server side.
When I removed the post, the link came back empty.

Will forward to their tech dept so that they can look into the issue.

Thanks, C~
 
Back
Top