> where exactly would this be put? In the VB script of the submit
> button?
Sorry, but in your previous post you didn't speak about VBScript.
This is a Microsoft Access newsgroup.
Anyway, when the user clicks the button of the form, you may intercept that
event and, while parsing the form controls, I suppose you would assign controls
values to VBScript variables.
So, before assigning the value of the department code, you should use the
code I suggested you and only then sould assign it to the relative variable.
Issue: post any more question to a more appropriate group.
Bye.
--
PBsoft di Gabriele Bertolucci
www.pbsoft.it
skype: pbsoftsolution
Drum2001 - 17 Mar 2006 21:17 GMT
> > where exactly would this be put? In the VB script of the submit
> > button?
[quoted text clipped - 17 lines]
> www.pbsoft.it
> skype: pbsoftsolution
Drum2001 - 17 Mar 2006 21:19 GMT
> > where exactly would this be put? In the VB script of the submit
> > button?
[quoted text clipped - 17 lines]
> www.pbsoft.it
> skype: pbsoftsolution
I used the wrong term. I thought the "code behind" in Microsoft Access
was called VBScript. My apologies...
This is a Microsoft Access question. I guess I should have asked, "Do
I put this in the code behind"?