Hi Everyone,
(1) I have more than one reports that I print at the same time. When I press the my print button that contains Report.print("reportname") for each report I will get the printer dialog that futher allows you to set number of pages or change the default printer. The problem that I have is that this dialog shows again & again for each report that is contained in the button with report.print() command. What I want to do is override the display of these printer dialog by printing silently without seeing/showing the printer dialog. Is this possible.
(2) When I compact my database with the control panel open or has focus everything goes well. Since I don't want users to gain access to the control panel I included a button with these commands a5_databasecompact(.f.,"Compacting Application","Please Wait The System Is Compacting Application","Operation Completed") or a5_databasecompact() or a5.compact() to enable them perform the compact operation. When either of this command is run without the control panel having focus I keep getting few error messages that one or more tables cannot be updated and if I want to drop it from the database. A user can mistakingly drop a table when this message is displayed during compact operation. I have tried using this order command a5_databasecompact(.t.,"Compacting Application","Please Wait, The System Is Compacting Application","Operation Completed") to make compact run silently but the (.t.) was not recognized only the (.f.) is recognized. Is it possible to run the commpact operation silently without displaying these warning messages of failure to update a table & advice to drop it. Any assistance will be greatly appreciated. Thanks in advance
Rawlings
(1) I have more than one reports that I print at the same time. When I press the my print button that contains Report.print("reportname") for each report I will get the printer dialog that futher allows you to set number of pages or change the default printer. The problem that I have is that this dialog shows again & again for each report that is contained in the button with report.print() command. What I want to do is override the display of these printer dialog by printing silently without seeing/showing the printer dialog. Is this possible.
(2) When I compact my database with the control panel open or has focus everything goes well. Since I don't want users to gain access to the control panel I included a button with these commands a5_databasecompact(.f.,"Compacting Application","Please Wait The System Is Compacting Application","Operation Completed") or a5_databasecompact() or a5.compact() to enable them perform the compact operation. When either of this command is run without the control panel having focus I keep getting few error messages that one or more tables cannot be updated and if I want to drop it from the database. A user can mistakingly drop a table when this message is displayed during compact operation. I have tried using this order command a5_databasecompact(.t.,"Compacting Application","Please Wait, The System Is Compacting Application","Operation Completed") to make compact run silently but the (.t.) was not recognized only the (.f.) is recognized. Is it possible to run the commpact operation silently without displaying these warning messages of failure to update a table & advice to drop it. Any assistance will be greatly appreciated. Thanks in advance
Rawlings
Comment