🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Appending Type SDF?

#239
From: tgp Thomas Preston
Date: Wed, 13 Jan 1999 00:00
63 lines
2349 bytes
On Wed, 13 Jan 1999 15:10:00 +0800, "Geoff S. Wass" <gswass@ibm.net>
wrote:

>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 <=<=
>

Thank you, thank you, thank you.  I KNEW that I was making this harder
than it really is!!

Tom Preston
Technical Details
Message-ID: <369ccb2c.48417590@forums.borland.com>
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> <369C46C8.8721849D@ibm.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: ff5a1,f2e33649ff6921cd
X-Google-Attributes: gidff5a1,public
From: tgp (Thomas Preston)
Subject: Re: Appending Type SDF?
Date: 1999/01/13
Message-ID: <369ccb2c.48417590@forums.borland.com>
X-Deja-AN: 432177460
References: <369bd176.3025950@forums.borland.com> <369bda08.17618793@forums.borland.com> <370437ac.547304@forums.borland.com> <369C46C8.8721849D@ibm.net>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.vdbase.data.sql