WOW! I am not sure I know how to do this, but if you could point me to how I
actually get to the OnLoad Event, I will try. Basically the only coding I
have done is on the OnClick Event and only a couple lines. I don't suppose
there is a simpler way?? Or at least help some more with the code. for
example, the file I think I would refer to is Office_Name_ID in my access
database. or am I way off base?
Thanks,
MEG
> Hi Meg,
>
[quoted text clipped - 15 lines]
> InfoPath Web Form
> [http://www.infojetsoft.com]
Zhang Haiguang - 14 Mar 2007 17:39 GMT
For the OnLoad Event, please click the menu Tools -> Programming-> On Load
Event ...
In my solution, you must know the deparment of the current user running the
current InfoPath form first, then you can switch the connection.
Only you know how to get it...
Or, if you allow user to switch the connection by themself( such as made the
selection on a dropdown box ), the thing will be easy.
Sorry, I don't know the simpler way...
> WOW! I am not sure I know how to do this, but if you could point me to
> how I
[quoted text clipped - 28 lines]
>> InfoPath Web Form
>> [http://www.infojetsoft.com]
Meg - 14 Mar 2007 18:46 GMT
Thanks very much. You are awesome! Now that you told me where to find the
On Load Event I think I can at least attempt putting the code in it and maybe
even get it to work. I never even thought to look under a menu option.
thanks again!
MEG
> For the OnLoad Event, please click the menu Tools -> Programming-> On Load
> Event ...
[quoted text clipped - 38 lines]
> >> InfoPath Web Form
> >> [http://www.infojetsoft.com]