Really enjoyed the article. Had a few hints for those who have not done much
previously with view templates.
On the form page can
1) Also add the Alias $$SearchTemplate for All (if you wish to use "All" view)
else it will use the default template
2) to put a field $$Viewbody in the form,
Plus in the subform on line
3) openDbRelativeURL("All?SearchView&Query=" + escape( str ) +
"&start=1&count=20");
"All" this is the name of the view the documents are being pulled from
Can select any view as long as make changes to the steps 1, and 3.
Really enjoyed the article. Had a few hints for those who have not done much previously with view templates.
On the form page can 1) Also add the Alias $$SearchTemplate for All (if you wish to use "All" view) else it will use the default template 2) to put a field $$Viewbody in the form,
Plus in the subform on line 3) openDbRelativeURL("All?SearchView&Query=" + escape( str ) + "&start=1&count=20"); "All" this is the name of the view the documents are being pulled from
Can select any view as long as make changes to the steps 1, and 3.