In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

AdsGetServerTime().

Xailer professional forum in English
Responder
pjmfelix
Mensajes: 61
Registrado: Jue Abr 27, 2006 1:23 pm

AdsGetServerTime().

Mensaje por pjmfelix »

Hi all.
Does any one know how to return the Date and Time from server using the
AdsGetServerTime().
I do this
aDatHorSer := AdsGetServertime(::oAdsDataSource1:hConnect)
but it always return error in handle.
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9469
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

AdsGetServerTime().

Mensaje por ignacio »

Paulo,
You must really connect to the Database server setting a name on the cUser
property. Otherwise, the property hConnect is always zero.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Paulo Jorge M. Félix" <pjmfelix@sisbit.pt> escribió en el mensaje
news:[email=46dd5a72@ozsrv2.ozlan.local...]46dd5a72@ozsrv2.ozlan.local...[/email]
> Hi all.
>
> Does any one know how to return the Date and Time from server using the
> AdsGetServerTime().
>
> I do this
>
> aDatHorSer := AdsGetServertime(::oAdsDataSource1:hConnect)
>
> but it always return error in handle.
>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
NoName
Mensajes: 531
Registrado: Vie Feb 03, 2006 7:27 pm

AdsGetServerTime().

Mensaje por NoName »

Paulo,
You must really connect to the Database server setting a name on the cUser
property. Otherwise, the property hConnect is always zero.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Paulo Jorge M. Félix" <pjmfelix@sisbit.pt> escribió en el mensaje
news:[email=46dd5a72@ozsrv2.ozlan.local...]46dd5a72@ozsrv2.ozlan.local...[/email]
> Hi all.
>
> Does any one know how to return the Date and Time from server using the
> AdsGetServerTime().
>
> I do this
>
> aDatHorSer := AdsGetServertime(::oAdsDataSource1:hConnect)
>
> but it always return error in handle.
>
>
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9469
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

AdsGetServerTime().

Mensaje por ignacio »

Paulo,
This limitation will disappear on next release.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escribió en el mensaje
news:46dd70c6$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Paulo,
>
> You must really connect to the Database server setting a name on the cUser
> property. Otherwise, the property hConnect is always zero.
>
> Regards,
>
> --
> Ignacio Ortiz de Zúñiga
> http://www.xailer.com
>
>
> "Paulo Jorge M. Félix" <pjmfelix@sisbit.pt> escribió en el mensaje
> news:[email=46dd5a72@ozsrv2.ozlan.local...]46dd5a72@ozsrv2.ozlan.local...[/email]
>> Hi all.
>>
>> Does any one know how to return the Date and Time from server using the
>> AdsGetServerTime().
>>
>> I do this
>>
>> aDatHorSer := AdsGetServertime(::oAdsDataSource1:hConnect)
>>
>> but it always return error in handle.
>>
>>
>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
NoName
Mensajes: 531
Registrado: Vie Feb 03, 2006 7:27 pm

AdsGetServerTime().

Mensaje por NoName »

Paulo,
This limitation will disappear on next release.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escribió en el mensaje
news:46dd70c6$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Paulo,
>
> You must really connect to the Database server setting a name on the cUser
> property. Otherwise, the property hConnect is always zero.
>
> Regards,
>
> --
> Ignacio Ortiz de Zúñiga
> http://www.xailer.com
>
>
> "Paulo Jorge M. Félix" <pjmfelix@sisbit.pt> escribió en el mensaje
> news:[email=46dd5a72@ozsrv2.ozlan.local...]46dd5a72@ozsrv2.ozlan.local...[/email]
>> Hi all.
>>
>> Does any one know how to return the Date and Time from server using the
>> AdsGetServerTime().
>>
>> I do this
>>
>> aDatHorSer := AdsGetServertime(::oAdsDataSource1:hConnect)
>>
>> but it always return error in handle.
>>
>>
>
>
Responder