🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.vdbase.forms
Article #16

Re: set fields off

#16
From: Robert W. Newman
Date: Tue, 09 Mar 1999 00:00
39 lines
1905 bytes
Glenn Fausel wrote:
> 
> version 5.6 I was using a QBE with 7 files, and in the FORM_ONOPEN
> section was doing this:
> Select 1
> go top
> copy to array array1
> Select 2
> go top
> copy to array array2
> ETC....
> 
> there are no relations or indexes in the QBE.
> 
> I found that only the first array was showing the correct values, the
> others showing only the value of the last record. And when I would copy
> back to the file form the array, except for the first file, all the
> others had blank, non-editable fields. Then I added SET FIELDS OFF as
> the last line of the QBE, and all of a sudden it works. Is this
> something that everyone knows, or am I making a right by using two
> wrongs??
> 
> Thanks,
> 
> Glenn

The Set Fields... that the Query Designer puts in the QBE creates a view
that appears essentially as a flat file. You can really see this when
you have a Set Relation... included. Double click the QBE file and
Select different work areas to see how the Browse is affected; I think
it will help you understand this better.

I just delete the Set Fields... line the designer streams out, but Set
Fields Off may be quicker. File looks messier though. 
-- 
Please edit Return Email Address before sending. Remove the word ZAP
from the address..

Bob Newman
Technical Details
Message-ID: <36E50F0A.335727DF@mindspring.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36E4B04A.92B8A55@aol.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 15bdfb,31448506a1a31fe6
X-Google-Attributes: gid15bdfb,public
From: "Robert W. Newman" <zap.rnewman@mindspring.com>
Subject: Re: set fields off
Date: 1999/03/09
Message-ID: <36E50F0A.335727DF@mindspring.com>
X-Deja-AN: 452950446
Content-Transfer-Encoding: 7bit
References: <36E4B04A.92B8A55@aol.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Reply-To: zap.rnewman@mindspring.com
Newsgroups: borland.public.vdbase.forms