Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sqlexec & store procedure
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00964589
Message ID:
00968959
Views:
7
Sergey:

I use your recomendation and work fine using VFP developer version, but when I create the executable give me the famous error Ole DB invalid path or file name. Do you know something about that. I try to check the connection but did not show any error. I am using the UNC name instead of the drive map. I switch to map drive and the error continue. Please let me know if I have to do something aditional. I can't catch the problem in the development.

This is the code that I am using.

oapp.ADODB.OPEN("Provider=vfpoledb;Data Source="+ALLTRIM(mainmenu.VFP_DBC))
conrs =oapp.ADODB.Execute("OMSC_DELETED('OMSC_USER')")
THISFORM.text9.VALUE= conrs.FIELDS(0).VALUE
IF TYPE('conrs')= "O"
conrs.CLOSE()
ENDIF
oapp.ADODB.CLOSE()

I dont get any error in the development machine.
Gregorio J. Placeres
IT Analyst
Uniform Accounting Network
Auditor of State of Ohio
88 East Broad Street
P.O. Box 1140
Columbus, Ohio 43216-1140

Tel. 614-728-4694

Gregorio_J@MSN.COM

http://www.gjpproductions.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform