INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

opening files

opening files

(OP)
By default all mine Pervasive files exits on same directory as .ddf path J:\pds, e.g. NAMES.MKD
I have a net use connection like net use s: \\192.168.1.22\pds wich is a Volume on a Nas

If the file would be on ddf path location this will work
vAflever.DatabaseName = "J:\PDS\NAMES.MKD"
vAflever.Location = vAflever.DatabaseName
status% = vAflever.Open

But this gives error 3012

vAflever.DatabaseName = "S:\PDS\NAMES.MKD"
vAflever.Location = vAflever.DatabaseName
status% = vAflever.Open

I want to use this to write /update al records twice ,
one to the a main file on J:\PDS wich is the data map on te pervasive Serer

and a copy off all work done record by record , so real -time on the S: the backup Nas

I use VB6 pro to program
How to solve or create a thing like this
Thanks

RE: opening files

Error 3012 means the engine is not accessible. Do you have the Btrieve / Pervasive / Actian engine installed on the machine running the application? If not, you need to install it on the machine running the application. If you do have it installed, what exactly do you have installed? Is it running as a service or as a regular process?

Mirtheil
http://www.mirtheil.com

RE: opening files

(OP)
we have a server, workstations has pervasive sql 2000 installed
all files on server ddf path are ok , but a file placed on other path give error

RE: opening files

If you have the server engine, it can only access files locally. You might be able to get a Workstation Engine to access the files that are on a NAS using a SUBSTed drive but it's not recommended. The Workstation Engine would need to be running as a process (rather than as a service).

Mirtheil
http://www.mirtheil.com

RE: opening files

(OP)
ok i understand, thanks for help will take look at website to see for other help/advises etc.
thanks again

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close