|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
V11 crashes on PRINT SELECTIONHallo,
I am having big problems with print commands. The programme crashes every time that I try to execute the following command : OUTPUT FORM([TRADER];"TR_PRINT2") PRINT SELECTION([TRADER]) The background : the user makes a selection in the standard list form of the table,then selects print in my menu bar which fires the above code. The output form was built using the wizard. I am running 4d v11 (developer) on a MAC with 10.5.2. I am not compiling the app but using it with runtime. The 2 print dialogs are shown, the crash occurs when user hits print ( or preview or PDF) TIA Martin ********************************************************************** 4D Basics hosted by 4D, Inc. http://www.4D.com/ Better, faster, more powerful code. Learn how without leaving the office! http://www.4d.com/support/training.html To Unsubscribe: mailto:4DBasics-off@... ********************************************************************** |
|
|
Re: V11 crashes on PRINT SELECTIONMartin Christopherson sez:
>The 2 print dialogs are shown, the crash occurs when user hits print >( or preview or PDF) Here are a few easy things to try: Remove any code from the form to make sure there isn't something going on there. One thing in particular that will cause a crash is changing the current record of the table called in Print Selection while printing. Querying, Print Selection, Selection to Array, etc. will cause this, along with regular record navigation calls. If this doesn't help, it may be something about the form itself. Create a new form with only a since object on it and print using that. If it doesn't crash, it's likely something about TR_PRINT2. If it crashes, then something scarier is going on. BTW, does this happen on any machine? -- ------------------------------------------------------------------ Tom Dillon 900 S. Coors Dr. DataCraft Lakewood, CO 80228 TomDillon@... 720/962-4880 ------------------------------------------------------------------ The whole problem with the world is that fools and fanatics are always so certain of themselves, but wiser people so full of doubts. --- Bertrand Russell ------------------------------------------------------------------ ********************************************************************** 4D Basics hosted by 4D, Inc. http://www.4D.com/ Better, faster, more powerful code. Learn how without leaving the office! http://www.4d.com/support/training.html To Unsubscribe: mailto:4DBasics-off@... ********************************************************************** |
|
|
Re: V11 crashes on PRINT SELECTIONHi there,
Are you using the function SUM in your form? If yes, replace it with the function Subtotal. In some cases function SUM causes 4D to crash while printing. Sincerely Yours, Vahdat Dastpak. -------------------------------------------------------- Vahdat Dastpak Neviseh Pardaz EMail: vahdat@... Phone: +1 (778) 340-3500 Cell: +1 (778) 322-1124 -------------------------------------------------------- On May 12, 2008, at 4:31 AM, martin christopherson wrote: > Hallo, > I am having big problems with print commands. The programme crashes > every time that I try to execute the following command : > > OUTPUT FORM([TRADER];"TR_PRINT2") > PRINT SELECTION([TRADER]) > > The background : > the user makes a selection in the standard list form of the > table,then selects print in my menu bar which fires the above code. > The output form was built using the wizard. > I am running 4d v11 (developer) on a MAC with 10.5.2. I am not > compiling the app but using it with runtime. > The 2 print dialogs are shown, the crash occurs when user hits > print ( or preview or PDF) > TIA > Martin > > ********************************************************************** > 4D Basics hosted by 4D, Inc. http://www.4D.com/ > > Better, faster, more powerful code.Learn how without leaving the > office! > http://www.4d.com/support/training.html > > To Unsubscribe: mailto:4DBasics-off@... > ********************************************************************** > ********************************************************************** 4D Basics hosted by 4D, Inc. http://www.4D.com/ Better, faster, more powerful code. Learn how without leaving the office! http://www.4d.com/support/training.html To Unsubscribe: mailto:4DBasics-off@... ********************************************************************** |
|
|
Re: V11 crashes on PRINT SELECTIONI had a similar experience, and it appeared to be related to trying to
print a report that did not fit on the paper size that I had specified. V11 tried to change the paper size to one that fit the layout, but my printer driver was having none of it. Moving the fields to within the proper margins solved the problem. ************************** Beverly Pryor 248-626-3170 bepryor@... On May 12, 2008, at 7:31 AM, martin christopherson wrote: > Hallo, > I am having big problems with print commands. The programme crashes > every time that I try to execute the following command : > > OUTPUT FORM([TRADER];"TR_PRINT2") > PRINT SELECTION([TRADER]) > > The background : > the user makes a selection in the standard list form of the > table,then selects print in my menu bar which fires the above code. > The output form was built using the wizard. > I am running 4d v11 (developer) on a MAC with 10.5.2. I am not > compiling the app but using it with runtime. > The 2 print dialogs are shown, the crash occurs when user hits print > ( or preview or PDF) > TIA > Martin > > ********************************************************************** > 4D Basics hosted by 4D, Inc. http://www.4D.com/ > > Better, faster, more powerful code.Learn how without leaving the > office! > http://www.4d.com/support/training.html > > To Unsubscribe: mailto:4DBasics-off@... > ********************************************************************** > > ********************************************************************** 4D Basics hosted by 4D, Inc. http://www.4D.com/ Better, faster, more powerful code. Learn how without leaving the office! http://www.4d.com/support/training.html To Unsubscribe: mailto:4DBasics-off@... ********************************************************************** |
|
|
|
|
|
|
| Free Forum Powered by Nabble | Forum Help |