I think you can do this without code, Art. Add a field to your main data
source to save the name of a view in. You do not need to put this field on
any view; it can remain "invisible". You can then add an action to the same
rule you use to switch views and set the value of your invisible field to the
name of the view you are switching to. Then use data validation on field 4 to
make it required if a certain view name is present in your invisible field.
Give it a go and let me know if it works.
---
S.Y.M. Wong-A-Ton
> By coding, do you mean custom code in JS or VB?
>
[quoted text clipped - 15 lines]
> > >
> > > How can you make fields required or not required by view?
Art - 17 May 2007 16:50 GMT
Thanks - that makes sense. Will give it a try on a new form I am working on
I surprise meyself that I have done more than 20 forms in just the past 2
months.
> I think you can do this without code, Art. Add a field to your main data
> source to save the name of a view in. You do not need to put this field on
[quoted text clipped - 26 lines]
> > > >
> > > > How can you make fields required or not required by view?