Jump to content

FileMaker and ASP


This topic is 8008 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

I need for ASP pages to connect to FileMaker using ODBC. Here is the code I have:

Set fmConn = Server.CreateObject("ADODB.Connection")

Set fmRS = Server.CreateObject("ADODB.RecordSet")

fmConn.Open "Driver={FileMaker Pro}"

fmRS.Open "SELECT * FROM mainTableName", fmConn

Calling Open on fmConn does not cause an error but calling Open on fmRS does. Here is the error:

-2147467259, [FileMaker][ODBC FileMaker Pro driver][FileMaker Pro]Connect failed

I have enabled LDAC, sharing, and created a group "ALL" under Access Privileges. I am also keeping the file open.

Just for testing, I have successfully linked the file into Access and I am able to see its table.

ANY help with this is most appreciated!

Jean Bresse

Link to comment
Share on other sites

This topic is 8008 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.