FastReport FMX OSX problem

edited 1:57AM in FastReport 4.0
Hi,

i have a report with an frxDBDataset and a query, which report is running perfect with target platform Win32

The same report with OSX target platform, produces the error "frxDBDataset1 is not connected to data and as i can see in designer, at data tree, the dataset does not have fields.

Of course i made a simple software with one form , one connection, one report and runs perfect on Win32 and OSX.

But if the software contains multiple forms, where in the main form i define the database and in another form i have the printouts, i have the problem with OSX

Do you have any idea ?

Minas

Comments

  • edited 1:57AM
    Minas wrote: »
    Hi,

    i have a report with an frxDBDataset and a query, which report is running perfect with target platform Win32

    The same report with OSX target platform, produces the error "frxDBDataset1 is not connected to data and as i can see in designer, at data tree, the dataset does not have fields.

    Of course i made a simple software with one form , one connection, one report and runs perfect on Win32 and OSX.

    But if the software contains multiple forms, where in the main form i define the database and in another form i have the printouts, i have the problem with OSX

    Do you have any idea ?

    Minas

    After searching 2 days i found that when i delete the line
    {$R *.Macintosh.fmx MACOS}
    from the main unit
    the report can connect to the program and takes the datasets and the fields.

    The line
    {$R *.Macintosh.fmx MACOS}
    produced when i change the view in the IDE to OSX Desktop.

    In case it is helpful to someone !

Leave a Comment