Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Open table in another DBC
Message
De
01/02/2004 21:09:49
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00872779
Message ID:
00872855
Vues:
13
>Hilmar,
>
>Thanks for the response.
>
>Here's the extracted code that applies here:
>
>*-- the "goGV" is an object created in main program
>
>*-- open the NNACL and LDBilling database containers
>OPEN DATABASE goGV.NNACL_Path+"NNACL"
>OPEN DATABASE goGV.DataPath+"LDBilling"
>
>*-------------------------
>
>*-- in another program
>
>lcNNACL = goGV.NNACL_Path + "NNACL!nnacl.dbf"
>USE (lcNNACL) IN 0 ALIAS nnacl
>
>lcACTexas = goGV.NNACL_Path + "NNACL!actexas.dbf"
>USE (lcACTexas) IN 0 ALIAS actexas
>SET ORDER TO actexas IN actexas
>
>lcManlBill = goGV.DataPath + "LDBilling!manlbill.dbf"
>USE (lcManlBill) IN 0 ALIAS manlbill
>SET ORDER TO manlbill IN manlbill
>
>*------------------------
>
>The error I am getting is:
>
>File 'c:\develop\ldbilling\nnacl.dbf' does not exist.
>
>The file is contained in the 2nd application database
>container. Both databases are included in the project.
>I even tried:
>
>"SET DATABASE TO nnacl" before the "USE" and still get the error.
>
>Thanks for your help.
>
>Harry

You may already have tried the obvious: to check whether the file or directory is mis-spelled. Otherwise, I don't have further ideas.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform