print form is blank

View: New views
3 Messages — Rating Filter:   Alert me  

print form is blank

by gmannwis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
Not a programmer but have built a functional database for my business. I am trying to fax a form with a fax cover using a record from a different table. I'm using print form so both forms use a single phone call. The fax cover prints with no fields filled in though the main fax prints fine. I traced the print method and the cover record is there but no data prints on the form. Here is the method I'm using:
                PRINT SETTINGS
                If (OK=1)
                        CONFIRM("Print document w/ Physician fax cover?")
                        If (OK=1)
                                QUERY([Physicians];[Physicians]Full Name LF=[Doc Archives]DocMD)
                                Case of
                                        : (Records in selection([Physicians])=0)
                                                ALERT("No physician file found.")
                                                OK:=0
                                        : (Records in selection([Physicians])>1)
                                                ALERT("Multiple physician files found.")
                                                OK:=0
                                End case
                                If (OK=1)
                                        Print form([Physicians];"FaxCover")
                                        PAGE BREAK
                                End if
                        End if
                        Print form([Doc Archives];$DocName)
                        PAGE BREAK
                End if
Any help would be greatly appreciated.
Thank You,
George

RE: print form is blank

by Mike-247 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

George,

What version of 4D are you using?  It may also be good to call a page setup
using the form you are about to print:

PAGE SETUP([Physicians];"FaxCover")

If you are using 4D 2004.7, download the latest release.  There are some
printing issues in the original release.  (Although unconfirmed, updating to
2004.7r3 corrected the exact same issue in my project)

Thanks,
Mike

Mike Placko
NowData Corporation
mike@...
http://www.nowdata.com

-----Original Message-----
From: 4DBasics@... [mailto:4DBasics@...] On Behalf Of
gmannwis
Sent: Wednesday, February 27, 2008 5:00 PM
To: 4DBasics@...
Subject: print form is blank


Hi,
Not a programmer but have built a functional database for my business. I am
trying to fax a form with a fax cover using a record from a different table.
I'm using print form so both forms use a single phone call. The fax cover
prints with no fields filled in though the main fax prints fine. I traced
the print method and the cover record is there but no data prints on the
form. Here is the method I'm using:
                PRINT SETTINGS
                If (OK=1)
                        CONFIRM("Print document w/ Physician fax cover?")
                        If (OK=1)
                                QUERY([Physicians];[Physicians]Full Name
LF=[Doc Archives]DocMD)
                                Case of
                                        : (Records in
selection([Physicians])=0)
                                                ALERT("No physician file
found.")
                                                OK:=0
                                        : (Records in
selection([Physicians])>1)
                                                ALERT("Multiple physician
files found.")
                                                OK:=0
                                End case
                                If (OK=1)
                                        Print form([Physicians];"FaxCover")
                                        PAGE BREAK
                                End if
                        End if
                        Print form([Doc Archives];$DocName)
                        PAGE BREAK
                End if
Any help would be greatly appreciated.
Thank You,
George
--
View this message in context:
http://www.nabble.com/print-form-is-blank-tp15725591p15725591.html
Sent from the 4D Basics mailing list archive at Nabble.com.


**********************************************************************
4D Basics hosted by 4D, Inc.                       http://www.4D.com/

Did you know?  The 4D Partner Program now gives you
access to Hotfix releases as soon as they are available!
To learn more, go to http://www.4D.com/support/partner.html

To Unsubscribe:                        mailto:4DBasics-off@...
**********************************************************************



**********************************************************************
4D Basics hosted by 4D, Inc.                       http://www.4D.com/

Did you know?  The 4D Partner Program now gives you
access to Hotfix releases as soon as they are available!
To learn more, go to http://www.4D.com/support/partner.html

To Unsubscribe:                        mailto:4DBasics-off@...
**********************************************************************



Re: print form is blank

by gmannwis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Mike,
Right now I'm using version 7.0.4. I recently moved to a laptop and this is
the version I got working. I actually stumbled into realizing that nothing
on the background page of the form was printing with the print form command.
I moved everything to the top page and all is printing fine. Thanks for your
response, I'll keep the page setup in mind. Hadn't thought of that.
George

On Thu, Feb 28, 2008 at 11:12 AM, Mike Placko <mike@...> wrote:

> George,
>
> What version of 4D are you using?  It may also be good to call a page
> setup
> using the form you are about to print:
>
> PAGE SETUP([Physicians];"FaxCover")
>
> If you are using 4D 2004.7, download the latest release.  There are some
> printing issues in the original release.  (Although unconfirmed, updating
> to
> 2004.7r3 corrected the exact same issue in my project)
>
> Thanks,
> Mike
>
> Mike Placko
> NowData Corporation
> mike@...
> http://www.nowdata.com
>
> -----Original Message-----
> From: 4DBasics@... [mailto:4DBasics@...] On Behalf Of
> gmannwis
> Sent: Wednesday, February 27, 2008 5:00 PM
> To: 4DBasics@...
> Subject: print form is blank
>
>
> Hi,
> Not a programmer but have built a functional database for my business. I
> am
> trying to fax a form with a fax cover using a record from a different
> table.
> I'm using print form so both forms use a single phone call. The fax cover
> prints with no fields filled in though the main fax prints fine. I traced
> the print method and the cover record is there but no data prints on the
> form. Here is the method I'm using:
>                PRINT SETTINGS
>                If (OK=1)
>                        CONFIRM("Print document w/ Physician fax cover?")
>                        If (OK=1)
>                                QUERY([Physicians];[Physicians]Full Name
> LF=[Doc Archives]DocMD)
>                                Case of
>                                        : (Records in
> selection([Physicians])=0)
>                                                ALERT("No physician file
> found.")
>                                                OK:=0
>                                        : (Records in
> selection([Physicians])>1)
>                                                ALERT("Multiple physician
> files found.")
>                                                OK:=0
>                                End case
>                                If (OK=1)
>                                        Print form([Physicians];"FaxCover")
>                                        PAGE BREAK
>                                End if
>                        End if
>                        Print form([Doc Archives];$DocName)
>                        PAGE BREAK
>                End if
> Any help would be greatly appreciated.
> Thank You,
> George
> --
> View this message in context:
> http://www.nabble.com/print-form-is-blank-tp15725591p15725591.html
> Sent from the 4D Basics mailing list archive at Nabble.com<http://nabble.com/>
> .
>
>
> **********************************************************************
> 4D Basics hosted by 4D, Inc.                       http://www.4D.com/<http://www.4d.com/>
>
> Did you know?  The 4D Partner Program now gives you
> access to Hotfix releases as soon as they are available!
> To learn more, go to http://www.4D.com/support/partner.html<http://www.4d.com/support/partner.html>
>
> To Unsubscribe:                        mailto:4DBasics-off@...
> **********************************************************************
>
>
>
> **********************************************************************
> 4D Basics hosted by 4D, Inc.                       http://www.4D.com/<http://www.4d.com/>
>
> Did you know?  The 4D Partner Program now gives you
> access to Hotfix releases as soon as they are available!
> To learn more, go to http://www.4D.com/support/partner.html<http://www.4d.com/support/partner.html>
>
> To Unsubscribe:                        mailto:4DBasics-off@...
> **********************************************************************
>
>
>

**********************************************************************
4D Basics hosted by 4D, Inc.                       http://www.4D.com/

Did you know?  The 4D Partner Program now gives you
access to Hotfix releases as soon as they are available!
To learn more, go to http://www.4D.com/support/partner.html

To Unsubscribe:                        mailto:4DBasics-off@...
**********************************************************************