Source language: Translate to:

dbplistprint

Questions about using NeoBook's scripting language

Moderator: Neosoft Support

dbplistprint

Postby Alex » Mon Nov 15, 2010 3:18 am

Hello,

When I try to print my mdb database it prints but it cut the rest of my data.
For example, it does something like that:

----------------------------------------------------
| data data data data data data data data da|
----------------------------------------------------

it doesn't write under like that:

----------------------------------------------------
| data data data data data data data data |
| data data data data |
----------------------------------------------------

This is my code:

dbpListPrint "Menu" "Menu" "PrintDialog=Yes;Orientation=Landscape;GridLines=Yes;ColumnTitles=Yes;RecordNumbers=No;AutoWidth=Yes;UseGridAttributes=Yes;LeftMargin=0.25cm;RightMargin=0.25cm;TopMargin=1.50cm;BottomMargin=1.50cm"


When I put AutoWidth=No, then I print 3 pages and I only want 1.

How can I do?

Thanks


Alex
Alex
 
Posts: 745
Joined: Sat Mar 04, 2006 4:53 am

Postby Alex » Mon Nov 15, 2010 9:14 am

Hi,

As I can't get it work with dbpro. I have used neobookdb (dbf) with this code

dbfSetRowHeight "!C:\Menu.dbf" "80"

anyway I think the dbpro plugin doesnt work correctly

Thanks


Alex
Alex
 
Posts: 745
Joined: Sat Mar 04, 2006 4:53 am

Postby Neosoft Support » Mon Nov 15, 2010 11:00 am

With dbpListPrint make sure you use the "UseGridAttributes=Yes" option. Then you should be able to use dbpSetRowHeight to adjust the printout's row height.

dbpListPrint is meant for printing basic tables. It has limited formatting options. If you need more control over formatting use the Report Designer instead.
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5593
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA


Return to NeoBook Action Commands

Who is online

Users browsing this forum: No registered users and 4 guests