I've got a text field with the name (bookmark) of Duration, which will have the result of the difference between two dates entered somewhere else in my form. When the dates are improperly set up (i.e., the end is before the beginning), I want to empy the duration field. I use:
Application.Documents(1).FormFields("Duration").Result = ""
Minor question: is the the most economical way of referring to a field? (I'm not really up to speed on VB's object model).
More important question: Why does the screen scroll down until this field is visible? I just want to set it, not jump to it. Is there some way of stopping this behavior?
Not-really-related-question: if I want Mac users to be able to use my forms, I have to avoid ActiveX controls, right? What about the events for controls, like a check box's click event -- is that only part of an ActiveX click box, or any normal click box?
Thanks for any help!
Application.Documents(1).FormFields("Duration").Result = ""
Minor question: is the the most economical way of referring to a field? (I'm not really up to speed on VB's object model).
More important question: Why does the screen scroll down until this field is visible? I just want to set it, not jump to it. Is there some way of stopping this behavior?
Not-really-related-question: if I want Mac users to be able to use my forms, I have to avoid ActiveX controls, right? What about the events for controls, like a check box's click event -- is that only part of an ActiveX click box, or any normal click box?
Thanks for any help!