cKon = SQLSTRINGCONNECT(”Driver={Microsoft Access Driver (*.mdb)};Dbq=C:\mydata.mdb;Uid=Admin;Pwd=;”)
IF ckon <= 0
MESSAGEBOX(”Database Conection Failed”,0+16,”Error”)
CLEAR EVENTS
QUIT
ELSE
MESSAGEBOX(”Database Conection Succeed”,0+16,”Succeed”)
ENDIF
Related posts:
- Data Connection
- How to : Visual Foxpro | OO Calc
- Visual Foxpro : Do’s and Dont’s
- Visual foxpro: Terminate active windows application
- Membangun SMS Gateway dengan Gammu dan Visual Foxpro
This entry was posted on Wednesday, March 3rd, 2010 at 1:51 pm and is filed under Computer, Programming, Tips & Trick.You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
Valuable thoughts and advices. I read your topic with great interest.
Interesting and informative. But will you write about this one more?
I added your blog to bookmarks. And i’ll read your articles more often!
Are you a professional journalist? You write very well.