logo
small logo
  • Producto
  • Comprar
  • Ayuda
  • About
  • Consola de usarios Ayuda
    • en
    • de
    • JP
    • ZH
  • Página principal
  • /
  • Blogs
  • /
  • Cómo conectarse a Firebird desde FastReport.Net
  • Toilet paper printing

    30 de marzo de 2020

    Gentlemen jokes aside! Today we are talking about toilet paper. This essential hygiene product was

    read more
  • Paquetes FastReport .NET y .NET 5.0

    17 de diciembre de 2020

    UPD: Se aplica a las versiones de FastReport. NET anteriores a 2022.2. Los paquetes de

    read more
  • Cómo actualizar el informe web FastReport.Core

    21 de septiembre de 2020

    A veces es necesario actualizar el informe, por ejemplo, si ingresa un nuevo valor de

    read more
  • El evento de ExportParameters en WebReport.Report

    5 de octubre de 2020

    En FastReport 2020.1 hemos añadido la posibilidad de cambiar los parámetros de exportación. Para hacer

    read more
  • Cómo elegir los valores principales en la matriz

    22 de abril de 2021

    El artículo es relevante hasta la versión 2022.1. FastReport.NET tiene una buena herramienta para representar los

    read more

Cómo conectarse a Firebird desde FastReport.Net

15 de noviembre de 2019

Para conectarse a una base de datos Firebird, en el diseñador FastReport.Net hay un complemento conector.

Tiene que precompilar el proyecto:

С:\Program Files (x86)\FastReports\FastReport.Net\Extras\Connections\FastReport.Firebird

Luego, tiene que conectar el complemento en el diseñador de informe en el menú <File → Options>:

 

Después, hay que reiniciar el diseñador de informes.

Antes de crear una fuente de datos en el informe, asegúrese de que su servidor FireBird está configurado apropiadamente.  Es que FireBird 3 a la hora de concectarse a una base de datos con la biblioteca FireBirdSql.Data.FirebirdClient  (que se utiliza en el complemento) es muy probable que verá el error "connection rejected by remote interface". Tiene que activar cifrado de cable y el tipo de autentificación Legacy.

Para ello, abra el archivo de configuración firebird.conf. Descomente y cambie la línea:

AuthServer = Srp, Legacy_Auth

UserManager = Srp, Legacy_Auth

WireCrypt = Enabled

Ahora podemos empezar a crear una fuente de datos. Seleccione el tipo de conexión “FireBirdconnection”:

 

As a result, the connection line will look like this:

initial catalog="J:\Program Files\Firebird\Firebird_3_0\examples\empbuild\EMPLOYEE.FDB";user id=sysdba;password=masterkey

Next, we can choose the tables needed for the report:

 

But also, we have the opportunity to write the SQL query. Let's look at this opportunity. Push the button "Add SQL query ...". We set the table name, which is obtained as a result of the query:

Then let’s write SQL request itself:

 

This request is in the condition parameter. With the help of a double vertical line, we perform a concatation. As a result of this inquiry, we will be presented employees whose names begin with a certain letter or phrase. In the next step we create a parameter with the same name, which we have defined in a SQL query:

 

As a setting value, we can use any expression: report setting, function, variable. Let's use the report variable. By this point it should have been created:

 

Choose it in the expression editor which will open when you click Expression in the window of making the parameter request:

 

As a result, we will get the selection of these employees whose name starts with K:

about product comprar
avatar
Dmitriy Fedyashov
Technical Writer
Fast Reports Team: Dmitriy Fedyashov - Technical Writer at Fast Reports
.NET FastReport Firebird

Add comment
logo
  • 800-985-8986 (English, US)
  • +4930568373928 (German)
  • +55 19 98147-8148 (Portuguese)
  • info@fast-report.com
  • 901 N Pitt Str #325 Alexandria VA 22314
  • Comprar
  • Descargar
  • Documentación
  • Opiniones de usuarios
  • Cómo desinstalar nuestros productos
  • FAQ
  • Toturial en vídeo
  • Foro
  • Documentación técnica
  • Nuestras noticias
  • Quiénes somos
  • Socios
  • Extended licensing
  • Contactos

© 1998-2023 by Fast Reports Inc.

  • Privacidad