first u create odbc connection to access database
then run sqlconnect() command, this command connect foxpro to access database
then run sqlexec() command and get your required data into any cursor
then copy data from cursor to any foxpro table
example
*assume odbcname is accessdata
a=sqlconnect(accessdata)
sqlexec(a,"select * from emp",'cursor1')
select * from cursor1 into table table1
hope it will help u
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only