Anyone have an update for the instructions in the help file titled "Using Check Boxes to Select Records"
I have been trying to use the example and it is hard enough to apply to my own problem but it also seems to have many typos that make trying to follow it problematic.
Example of some typos:
Enter the following HTML code and click OK. This line of code adds the "Customer_Id" to a check box selection list.
Should be
without the space. Also neglects to inform you that the field control type should be set to Custom.
No "end if" here.
I can't get to determine what I am doing wrong as I spend time having to fix what is wrong in the example so far.
I am trying to print letters that are personalized based on selected clients. Any better way to do this than the example I am trying to use from help. http://support.alphasoftware.com/alp...ct_Records.htm
I have been trying to use the example and it is hard enough to apply to my own problem but it also seems to have many typos that make trying to follow it problematic.
Example of some typos:
Enter the following HTML code and click OK. This line of code adds the "Customer_Id" to a check box selection list.
Code:
<input type="check box" name="cust_id[]" value=" {Customer_Id} ">
Code:
<input type="checkbox"
No "end if" here.
Code:
<%a5 if eval_valid("cust_id") if cust_id[1] = "" goto CustidNotSpecified end if dim filter as c dim order as c filter = cust_id.dump() filter = *for_each(x,"customer_id = " + quote(x),filter) filter = strtran(alltrim(filter), crlf()," .or. ") order = "" dim filename as c filename = session.session_folder + chr(92) + "templabels.pdf" filename = label.saveas("CustomerLabels@[PathAlias.ADB_Path]\customer.dbf","PDF",filter,order,filename,.f.) if file.exists(filename) response.redirect(session.session_url + "templabels.pdf?" + time("hms3")) end end if else CustidNotSpecified: %>
I am trying to print letters that are personalized based on selected clients. Any better way to do this than the example I am trying to use from help. http://support.alphasoftware.com/alp...ct_Records.htm
Comment