I am pulling my hair out here. I created a form that looks fine on print preview. I have one field that grows. The first row does not grow and the rest of the rows after the first grow fine. This does not make any sense to me and there are no errors on the page.
The form is called ‘PrintSalesQuote’. I am posting the solution. I hope this is a bug, I have spend 4 hours trying to print this simple form.
Thanks for any help.
I cannot post the solution because I have reached my limit
This morning the If I print from the print preview screen, everything works fine.
If I run the following print method located on the form ‘EquipmanagerQuoteRecord’
globals.Text3 = null;
globals.Text3 = quote_number;
forms.PrintSalesQuote.controller.find();
forms.PrintSalesQuote.quote_number = globals.Text3;
forms.PrintSalesQuote.controller.search(true,false);
if (quotes_to_accounts_by_id.account_type == ‘Dealer’)
{
globals.Text10 = null
globals.Text10 = ‘Changes, additions or deletions from this quotation may cause differential pricing adjustments. Prices are firm for 30 days. Thank you for your time and consideration.’;
}
if (quotes_to_accounts_by_id.account_type == ‘Retail’)
{
globals.Text10 = null
globals.Text10 = ‘Prices do not incude sales tax or shipping costs. Prices listed and the total package price are for this quotation only. Changes, additions or deletions from this quotation may cause differential pricing adjustments. Prices are firm for 30 days. The equipment has a limited warranty for a period of one year. The Scope Exchange, Inc. is not responsible and considers the above mentioned warranty void if the equipment is misused, mishandeled, abused or proper cleaning and maintenance procedures are not followed. Thank you for your time and consideration.’;
}
forms.PrintSalesQuote.controller.print(false,true,false);
}
I expierence the same problem with the first row not growing. If you go the the ‘EquipmanagerQuoteRecord’ form, preform a find for quote number ‘Q12’ and select the print button, you will see what is happening.