problem in accessing and creating .dbf file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • progvar
    New Member
    • Feb 2008
    • 40

    problem in accessing and creating .dbf file

    hello expert
    i want to design a programe in which i want to access a foxpro file and make some modicfication with programe and then make the modified file in foxpro format. Is it right to use the following code

    [CODE=vb]Set dbMn = Workspaces(0).O penDatabase(dbf path & "\", False, False, "dBase IV")
    Set rsMn = dbMn.OpenRecord set("select * from " & dbfname)
    txtpth = dbfpath & "\" & Replace(UCase(d bfname), ".DBF", ".DBF")
    Open txtpth For Output As #1[/CODE]

    THANKS IN ADVANCE
    Last edited by Killer42; Feb 22 '08, 03:13 AM.
  • Killer42
    Recognized Expert Expert
    • Oct 2006
    • 8429

    #2
    Hasn't this same question been recently handled in another discussion thread?

    Comment

    Working...