[Gambas-devel] pre-alpha DBReportDesigner, DBReportViewer

Charlie Reinl na2492 at ...16...
Fri Nov 12 18:53:18 CET 2004


> 
> 
>Hi, 
>If you have time: 
>To test it, first you need create the "test" database with "database" example
 
>of Gambas. 
>I include very small reports for Postgres, SQLite and MySQL. 
> 
>For Postgres: 
>  Host: 127.0.0.1 
>  Database: test 
>  User: postgres 
> 
>For SQLite 
>  Database: test 
> 
>For MySql 
>  Database: test 
>  User: root 
> 
>Reports have extension ".grpt" for Gambas report (plain text, no XML) 
> 
>How to test designer: 
>1. Open report designer 
>2. Open example report 
>3. to move objects, use cursor keys  
>4. to resize objects use shift+cursor keys 
>5. to change text, use property "text"  
>... 
>6. to edit recordsource, use toolbox, remember test your new SQL with "test"
 
>button 
>... 
> 
>How to test viewer: 
>1. Open report viewer 
>2. Click "Open" button 
>3. Select an example report 
>  
>Obs: 
>The report designer is incomplete, buggy, slow, etc... 
>All sum fields are calculated by database 
>Recordsource are nested to do master-detail 
>Each report section have an "Iteration" property linked to recordsource. 
> 
>The IDE is very slow, due to implementation, because i need an IDE  
>general-purpose, to use it in others proyects. 
> 
Salut Christian, 
 
you forgot to say, how the Table has to be. 
 
the path to the gambas.png   
with /data/data/src/DBReportDesigner/img/gambas.png 
is only on your box like that and the designer crash 
 
while the viewer has no problem with, and don't show it 
 
And if I wanted send to the printer, he crashed : 
SUB OutputMode_write(m AS String) 
  Mode=m 
  IF Mode="Preview" THEN 
    fx=1 
    fy=1 
    pview.Tag=1  
    PageClear() 
  ELSE IF Mode="Printer" THEN 
    pview=view  <------------------------------ here with 
                                       wanted cPage , got drawing area 
  
    pview.Tag =1 
    fx=pfx 
    fy=pfy 
  END IF   
END 
 
I used 'sqlite_example_01_employee.grpt' in both cases. 
 
But, it is a good start, even I don't like this big forms. 
 
Amicalment 
Charlie 
 
 
* Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de *




More information about the Devel mailing list