Further to my previous post, I’d like to comment on the inadequcies of views in Lotus Notes. Why can’t you just use @Dblookup in column, and view selection formulas?
Views are almost designed to be as inflexible and useless as possible, you can use hardly any useful commands, and the ones you can use need to be hard coded.
This should be an 100% reasonable view selection formula, which would save me hours every year, but instead I have to hard-code this, which wastes hours and hours:
FIELD Audit:=Audit;
date1:=@Text(@Adjust(@Date(@Today);-1;0;0;0;0;0));
date2:=@Text(@Date(@Today));
choice:=@Prompt([OkCancelEdit]; “Select a date”; “Please select the start date you are interested in”; date1);
choice2:=@Prompt([OkCancelEdit]; “Select a date”; “Please select the end date you are interested in”; date2);
t1:=@TextToTime(choice);
t2:=@TextToTime(choice2);
alldates:=@Explode( @TextToTime(“[”+@Text(t1)+“-”+@Text(t2)+“]”));
DoesItContain:=@If(@Contains(alldates;SubmitDate);“1”;“0”);
SELECT @If(DoesItContain=“1”)
@Prompt cannot be used in views!!! Why not - it’s just about the most useful command for collecting user info!
My database is old and the last thing I want to do is have to add extra forms or pages. I should just be able to select the documents I want in a view, and the user should be able to specifiy which dates appear in it.
Instead, the only option is to hard code the dates.
Can’t they come up with a product which allows proper dynamic selection? Why are notes views so inadequate?