🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Appending Type SDF?

#236
From: Geoff S. Wass
Date: Wed, 13 Jan 1999 00:00
54 lines
2191 bytes
Tom,

Answers embedded below:

Tom Preston wrote:

> On Tue, 12 Jan 1999 23:26:49 GMT, supportInfo@borland.com (Ken Mayer
> [TeamB]) wrote:
>
> >Thomas Preston wrote:
> >
> >>I have tables that will be updated daily with SDF data.  I am unable
> >>to find any information on how to append ASCII text files to a table
> >>using SQL.  Please help.
> >
> >Ken Mayer [TeamB] wrote
> >
> >SQL doesn't understand it. Have you tried just using the APPEND FROM
> >command? It should work ... the old XDML is still there.
> >
> <snipped Ken's signature stuff>

> Maybe I'm making this harder than it is . . . but append to WHAT?
> I have a Data Module containing three sql files attached to the form.
> What would the syntax look like for that . . .can I SELECT a rowset?
>
> SELECT FORM.ROWSET1
> APPEND FROM NEWCUS.TXT TYPE SDF
>
> Or can I USE a table even though it is currently open in the SQL?
>
> USE CUSMAS
> APPEND FROM NEWCUS.TXT TYPE SDF
>

You can make your QUERYs or ROWSETs active=FALSE, then use the old XDML way of
appending, then set the active = TRUE again.

>
> As an aside, is it possible to  ZAP or PACK a table opened in a QBE?
>

No! You must have exclusive use of a table for ZAP or PACK. Same applies to
the new OODML. No one can be using the table because dBASE won't know what to
do with anything they might be doing (add/change/delete) at the time your
zap/pack.
<snipped your signature stuff>

--
Geoff Wass
Kuala Lumpur, Malaysia


=>=> More dBASE info at http://members.theglobe.com/Geoff_Wass <=<=
Technical Details
Message-ID: <369C46C8.8721849D@ibm.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <369bd176.3025950@forums.borland.com> <369bda08.17618793@forums.borland.com> <370437ac.547304@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: ff5a1,f2e33649ff6921cd
X-Google-Attributes: gidff5a1,public
From: "Geoff S. Wass" <gswass@ibm.net>
Subject: Re: Appending Type SDF?
Date: 1999/01/13
Message-ID: <369C46C8.8721849D@ibm.net>
X-Deja-AN: 432043956
Content-Transfer-Encoding: 7bit
References: <369bd176.3025950@forums.borland.com> <369bda08.17618793@forums.borland.com> <370437ac.547304@forums.borland.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Noordindarus Consultancy Sdn. Bhd.
Mime-Version: 1.0
Newsgroups: borland.public.vdbase.data.sql