Re: [PHP] Crystal Reports in PHP via COM - SelectPrinter problem

2003-03-31 Thread Andrew Powell
gt;OpenReport("d:\\athermal\\reports\\backlog.rpt", 1); $creport->SelectPrinter("winspool", "HP LaserJet 1200 Series PCL", "Ne01:"); $creport->PaperOrientation = 0; $creport->PrintOut(False); aap Andrew Powell wrote: I am receiving an

Re: [PHP] Grid edit form

2003-03-28 Thread Andrew Powell
Then append the id to the input name. e.g. For the input form: while (odbc_fetch_row($rs)) { echo ""; } And to read the data: while (odbc_fetch_row($rs)) { $sql = "update MyTable set MyFieldValue='".$_REQUEST['myfield_'.odbc_result($rs, "ID")]."' where (ID=".odbc_result($rs, "ID").")"; odb

Re: [PHP] Grid edit form

2003-03-28 Thread Andrew Powell
For the form: for ($i=0;$i<=59;$i++) { echo ""; } For the post back: for ($i=0;$i<=59;$i++) { $somedata[$i] = $_REQUEST['myfield_'.$i]; } aap Daniel Harik wrote: Hello guys, I'm trying to make grid form that will allow to edit 60 rows at the same time, it's not hard to make a loop that wou

Re: [PHP] Stupid question perhaps?

2003-03-27 Thread Andrew Powell
Tom: The install.txt file that came with PHP 4.3.1 states: At this time, support for Apache 2 is experimental. It's highly recommended you use PHP with Apache 1.3.x and not Apache 2. aap Tom Tsongas wrote: > I just recently upgraded to PHP 4.3.1 and Apache 2.0.44. I had been > previou

[PHP] Crystal Reports in PHP via COM - SelectPrinter problem

2003-03-27 Thread Andrew Powell
I am receiving an error when attempting to use the SelectPrinter method in the CrystalDesignRunTime.Application COM object. The following code: - $crapp = new COM("CrystalDesignRunTime.Application"); $creport = $crapp->OpenReport("d:\\athermal\\reports\\backlog.rpt", 1); $creport->SelectPrint