January 2, 200125 yr I am trying to do searches and display them in a list view HTML template using an action tag like... ----FMPro?-DB=Job_Tracker&-Format=listView.html&-Max=25&-Lay=Schedule_Report_All_Dates&-Script.PreSort=Main_for_report_All_DatesAll_Jobs&-FindAll------ Do I have to have the -findall in there? I get an error if I leave it out. Is this the right format? Am I missing something? Thanks G
January 2, 200125 yr Find, FindAny, FindAll -- depends on your requirement. Do not rely on scripts much.
January 3, 200125 yr Author I am doing the find in the script. Do I still need the findall, findany or find?
January 3, 200125 yr If you are doing a find through a script, you are probably creating a conflict by using a -findall action tag. If you absolutely need to run the script to perform the task, try using the -view action tag. I don't know if this will work for you, but I sense a conflict with what you are already doing. Peace Keith M. Davie
January 3, 200125 yr Author "-view" only shows the first record in the found set. The reason I need to use the script is that the find is very complex and I have quite a few of them. I have done this before but I have forgotten how I did it. Can any one else help?
January 3, 200125 yr Author OK, I give up. Scripts are the spawn of the devil in respect to CDML. I will use "-find". It seems to work.
January 3, 200125 yr quote: Originally posted by spragueg: OK, I give up. Scripts are the spawn of the devil in respect to CDML. I will use "-find". It seems to work. Scripts are not reliable over the web, see my other posts here about that problem.
Create an account or sign in to comment