🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.vdbase.data.sql
Article #205

Re: creating tables

#205
From: Bowen Moursund (TeamB)
Date: Wed, 06 Jan 1999 00:00
20 lines
1193 bytes
>So the question is still open: How to use Create Table with a complete path
>name with drive letter?

<sigh> This snippet worked as expected for me:

cTmp = getenv("TMP")+"\TMP.DBF"
create table "&cTmp." (F1 CHAR(10))

If for some reason it doesn't work for you, you might instead try:

cCurDir = set("directory")
cd (getenv("TMP"))
create table "TMP.DBF" .....
cd (cCurDir)
__
Bowen Moursund (TeamB)
bowen at nerds dot com
http://lonestar.texas.net/~moursund/
Try this help resource:
http://www.dejanews.com/home_ps.shtml
Technical Details
Message-ID: <770ijm$dg619@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36905D71.848AE379@netfront.net> <76r3k9$8vp6@forums.borland.com> <3692C197.770A2600@netfront.net> <76vg8t$d1c2@forums.borland.com> <3694620e.40494147@forums.borland.com> <7708hn$dg99@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: ff5a1,e4cce62cc4a643dc
X-Google-Attributes: gidff5a1,public
From: "Bowen Moursund (TeamB)" <bowenSEND_ME_NO_SPICED_HAM@nerds.com>
Subject: Re: creating tables
Date: 1999/01/06
Message-ID: <770ijm$dg619@forums.borland.com>
X-Deja-AN: 429540540
References: <36905D71.848AE379@netfront.net> <76r3k9$8vp6@forums.borland.com> <3692C197.770A2600@netfront.net> <76vg8t$d1c2@forums.borland.com> <3694620e.40494147@forums.borland.com> <7708hn$dg99@forums.borland.com>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
Organization: DataTech
Newsgroups: borland.public.vdbase.data.sql