Pregunta sobre webinar

Post Reply
User avatar
leandro
Posts: 1719
Joined: Wed Oct 26, 2005 2:49 pm
Location: Colombia
Has thanked: 11 times
Been thanked: 3 times
Contact:

Pregunta sobre webinar

Post by leandro »

Antonio buenas tardes como estas?

Revisando uno de los videos del webinar, en donde el Maestro Nages, nos explico un poco sobre la migración de las dbf a mysql, en una parte de la conferencia se mostro, en una de las diapositivas la conexión de fw_mariadb que contenía una conexión de ADO, no se si entendí mal, (ya que mi ingles es bastante malo), pero estaba la instrucción:

Code: Select all | Expand

oCn := maria_connect(oAdoCn)
 
Eso quiere decir que podemos contener una conexión de ADO dentro de una conexión con la clase FW_mariadb, y si es así que beneficios nos puede traer dicho uso.

Gracias de antemano

Image
Saludos
LEANDRO AREVALO
Bogotá (Colombia)
https://hymlyma.com
https://hymplus.com/
leandroalfonso111@gmail.com
leandroalfonso111@hotmail.com

[ Turbo Incremental Link64 6.98 Embarcadero 7.70 ] [ FiveWin 24.09 ] [ xHarbour 64 bits) ]
User avatar
Antonio Linares
Site Admin
Posts: 42393
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 9 times
Been thanked: 41 times
Contact:

Re: Pregunta sobre webinar

Post by Antonio Linares »

Se lo pregunto a Rao a ver que me dice :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
leandro
Posts: 1719
Joined: Wed Oct 26, 2005 2:49 pm
Location: Colombia
Has thanked: 11 times
Been thanked: 3 times
Contact:

Re: Pregunta sobre webinar

Post by leandro »

up :oops:
Saludos
LEANDRO AREVALO
Bogotá (Colombia)
https://hymlyma.com
https://hymplus.com/
leandroalfonso111@gmail.com
leandroalfonso111@hotmail.com

[ Turbo Incremental Link64 6.98 Embarcadero 7.70 ] [ FiveWin 24.09 ] [ xHarbour 64 bits) ]
User avatar
Antonio Linares
Site Admin
Posts: 42393
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 9 times
Been thanked: 41 times
Contact:

Re: Pregunta sobre webinar

Post by Antonio Linares »

mensaje enviado a Rao nuevamente
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
nageswaragunupudi
Posts: 10701
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Been thanked: 3 times
Contact:

Re: Pregunta sobre webinar

Post by nageswaragunupudi »

Normally we use

Code: Select all | Expand

oCn := maria_Connect( "server,db,user,pw", .t. )
for connecting to server.

In case the application is already connected to the server via ADO/TDolphin/TMySql and the programmer wants to use FWMaria lib for some functions/ modules, he needs to use maria_Connect(…) to obtain the connection for use in those functions/modules.
One way is to call maria_Connect() using all the credentials. Another easier way is to use the connection already existing

Code: Select all | Expand

oFWCon := maria_Connect( oAdoCn/oDolphinServer/oTMySqlServer,.t.)
In this case, the maria_Connect() reads the credentials from that connection object and uses them to open fwmaria connection.

This is provided to facilitate easier migration of existing applications using ado/dolphin/tmysql to fwmariadb
Regards

G. N. Rao.
Hyderabad, India
Post Reply