Hi there (Again)
I have a whole new problem:
In Access 2000 I have a form, bound to a table which tracks sessions. I am using a query to pull up enrolled students to make into a combo box pull down (So that my admin can enter a ton of these scheduled students quickly instead of having to search all 1,800 students we have had). The query comes from a student table.
Now, I need the students name AND ID to be passed on to the Session table from the single pulldown.
My Admin can't remember every student's ID number, and we can't put full last names on our shedules, so what I did was assemble the data into a single field ("1234-John S.") via a query then passed that query through to the pulldown. That saves just fine into the Session tables [Name] field.
But I need that ID number to save into the Session tables [ID] field, so I can get all of the students information later on.
So I set up a text box with the control source being the expression "Val([Student's Name and ID])". which should just strip the first 4 numbers, convert them back to a number and put it into the Session table's [ID] field...
Of course, if you put that into the box's control source, it's no longer putting the data into the [ID] field... I tried putting it into the Default Value field with no success. Same with the Before Update, After Update and some other fields on the properties box. I simply get "0" entered into that field on the table.
So where should I put that Val function so that it will perform the Val function and install it into the ID field?
If you could please use dummy-talk for me, I'm an Excel guy pretending to be an Access dude. I've got the hang of the interface, and I can make wild expressions... but I couldn't VB my way out of a paper bag...
Thanks!
---Aabh