Página 1 de 1

AdsGetServerTime().

Publicado: Mar Sep 04, 2007 3:15 pm
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.

AdsGetServerTime().

Publicado: Mar Sep 04, 2007 4:50 pm
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.
>
>

AdsGetServerTime().

Publicado: Mar Sep 04, 2007 4:50 pm
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.
>
>

AdsGetServerTime().

Publicado: Mar Sep 04, 2007 4:59 pm
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.
>>
>>
>
>

AdsGetServerTime().

Publicado: Mar Sep 04, 2007 4:59 pm
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.
>>
>>
>
>