Is it possible via an ODBC connection to grab the current date/time from the remote data source? We are using a VFP 9.0 app and would like to validate date/time synchronization.
I'm not sure what your expertise is with SQL but I was a little lazy when I posted the other. Here are all the components if you need them.
LOCAL lnConn
LOCAL lnOutput
lnConn = SQLCONNECT('test')
IF m.lnConn > 0
SQLEXEC(lnConn, 'SELECT CURRENT_TIMESTAMP')
? Exp
USE
SQLDISCONNECT(m.lnConn)
endif
If you can't stand behind your troops, stand in front of them.
Semper Fidelis
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.