G
Guest
Hi guys. I currently have a text box on a form that always has the same
things put in. What I would like to do is create a table that has those
values in it and convert the text box to a combo box bound to that table.
I've tried doing this before, but it created a lot of work for me because I
ended up having to go back to the table in datasheet view and select the
value that is supposed to be in the combo box from the list (if you were to
click on the value initially, it would tell you that the data entered didn't
match the type i.e. number or text that it was supposed to be). Really what
I would like to happen is probably a little to complicated, but here it is
(I'm sure someone here is smart enough to figure it out): the field is
actually a rank field. the people in the database are either a marine or
navy. I intend to put two check boxes on the form (one marine, one navy) to
specifiy which branch the person is in. I want to be able to type a paygrade
in (say E3 or E-3) or an actual rank (say PFC or PO1) and depending on the
check box, it would display the equivalent rank for that branch. For
example, if Marine is checked and I put in E4, it displays CPL. If Marine is
checked and I put in lcpl, it displays LCPL. If Navy is checked and I put in
e-5, it displays PO2. If Navy is checked and I put in cpo, it displays CPO.
I know this is a long post and I'm asking a lot, but I have to give someone
out there something to do today! Remember, right now all I have is a text
field with about 600 records that need to be converted.
things put in. What I would like to do is create a table that has those
values in it and convert the text box to a combo box bound to that table.
I've tried doing this before, but it created a lot of work for me because I
ended up having to go back to the table in datasheet view and select the
value that is supposed to be in the combo box from the list (if you were to
click on the value initially, it would tell you that the data entered didn't
match the type i.e. number or text that it was supposed to be). Really what
I would like to happen is probably a little to complicated, but here it is
(I'm sure someone here is smart enough to figure it out): the field is
actually a rank field. the people in the database are either a marine or
navy. I intend to put two check boxes on the form (one marine, one navy) to
specifiy which branch the person is in. I want to be able to type a paygrade
in (say E3 or E-3) or an actual rank (say PFC or PO1) and depending on the
check box, it would display the equivalent rank for that branch. For
example, if Marine is checked and I put in E4, it displays CPL. If Marine is
checked and I put in lcpl, it displays LCPL. If Navy is checked and I put in
e-5, it displays PO2. If Navy is checked and I put in cpo, it displays CPO.
I know this is a long post and I'm asking a lot, but I have to give someone
out there something to do today! Remember, right now all I have is a text
field with about 600 records that need to be converted.