spragueg Posted January 2, 2001 Posted January 2, 2001 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
Anatoli Posted January 2, 2001 Posted January 2, 2001 Find, FindAny, FindAll -- depends on your requirement. Do not rely on scripts much.
spragueg Posted January 3, 2001 Author Posted January 3, 2001 I am doing the find in the script. Do I still need the findall, findany or find?
Keith M. Davie Posted January 3, 2001 Posted January 3, 2001 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
spragueg Posted January 3, 2001 Author Posted January 3, 2001 "-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?
spragueg Posted January 3, 2001 Author Posted January 3, 2001 OK, I give up. Scripts are the spawn of the devil in respect to CDML. I will use "-find". It seems to work.
Anatoli Posted January 3, 2001 Posted January 3, 2001 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.
Recommended Posts
This topic is 8800 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now