![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am using Access 2003 and would like to be able to retrieve the Date and Time of the PC where the backend MDB is stored, from the front ends (MDE) which would reside on different PCs. Any ideas. John |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
You are right on both counts. An API that can be used is NetRemoteTOD as indicated in the call below. p_lngRtn = NetRemoteTOD(yServer:=p_abytServerName(0), pBuffer:=p_lngPtrBuffer) However there is a 5-6 second delay when invoked, which is unacceptable. Any ideas? Nope. You asked how to get the time. However... |
|
John |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
There is a link at http://www.mvps.org/access/api/api0039.htm. However, it's for NT. I figure, from this code, that it would be an API call. Perhaps look for an API in google or google groups for determining it. |
#7
| |||
| |||
|
|
There is a link at http://www.mvps.org/access/api/api0039.htm. However, it's for NT. |
#8
| |||
| |||
|
|
"Salad" <oil (AT) vinegar (DOT) com> wrote in message news:ksOdnX3rPsJhWlbUnZ2dnUVZ_rfinZ2d (AT) earthlink (DOT) com... There is a link at http://www.mvps.org/access/api/api0039.htm. However, it's for NT. The above works if you have just about any kind of windows box (windows xp for example). I not sure if the server can be windows xp home, but it works for xp pro. And in fact I have clients of mine in which their server is a linx box (that means Samba - and again it works). So, virutally just about any office setup with a sewrver will work. And, I found there not a big delay when you use this api... So, it not limited to NT and just about any windows box after NT also supports that api... Thanks for the update. The OP mentioned it took about 5-6 seconds to |
![]() |
| Thread Tools | |
| Display Modes | |
| |