×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

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.

Students Click Here

Connecting a Foxpro database

Connecting a Foxpro database

Connecting a Foxpro database

(OP)
Sir,
I was able to connect to a access database using the following code, succesfully. But unable to connect to foxpro database. Kindly help, as I am new to these.

<HTML>
<BODY>
<B>Here are my friends:<B><BR>
<%
 Set MyConn = Server.CreateObject("ADODB.Connection")
 MyConn.Open "FILEDSN=c:\dsn\MyTable_dsn.dsn"
 SQL_query = "SELECT * FROM Friends"
 Set RS = MyConn.Execute(SQL_query)
 WHILE NOT RS.EOF
%>
 <LI><%=RS("Name")%>: <A HREF="<%=RS("Link")%>">Homepage</A>
<%
 RS.MoveNext
 WEND
 RS.Close
 MyConn.Close
%>
</BODY>
</HTML>



Note: The access datbase is in d:\ (root), the dsn file for it is in c:\dsn folder called mytable_dsn.dsn , the table is 'friends' which has got the fields 'Name' and 'Link'.
The foxpro database table called friends.dbf is in d:\manoj_web folder, its dsn file (dbase 3) in c:\dsn\mytable_dsnv.dsn  .

Thanking you in advance
M.Manoj

RE: Connecting a Foxpro database

Hi,

can you please help me urgently on how to connect frontpage to an existing Microsoft Access database that I have?

I try to connect by going to tools -> site settings, Database tab and adding in an existing database but it states it needs a Microsoft Access Driver. Where I can get the driver from?

Thanks in advance

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! Already a Member? Login

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