🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Problem with GRID in VDB 7.01

#79
From: Bombaci Paolo
Date: Mon, 10 May 1999 00:00
32 lines
1531 bytes
I have a grid that don't work properly.

On Form Open I do this :

form.query1.sql = "SELECT * FROM 'X.dbf'"
form.query1.active = true
form.grid1.datalink = form.query1.rowset

And the grid1 fill with the data

During the program I must change the query on the grid and I use this
instruction:

form.query1.sql = "SELECT * FROM 'Y.DBF'"

In the other GRID (grid2) that appear in my form, this instruction
change the grid but with this grid1  I must do:

form.query1.active = false
form.query1.sql = "SELECT * FROM 'Y.DBF'"
form.query1.active = true
form.grid1.datalink = form.query1.rowset

With this istruction grid1 is filled but when navigate throw the rowset
the data disappear.

On grid1 there are no events that can change the data; the rowset is
only read (requestlive = false)

There are someone that know the resolution of this problem ?

Pleas help me. Thank you for your attention
Technical Details
Message-ID: <3736A633.1E1AEC43@mlsys.it>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 105c7d,90f4384108844964,start
X-Google-Attributes: gid105c7d,public
X-Google-Thread: ff5a1,90f4384108844964,start
X-Google-Attributes: gidff5a1,public
From: Bombaci Paolo <mlsys@mlsys.it>
Subject: Problem with GRID in VDB 7.01
Date: 1999/05/10
Message-ID: <3736A633.1E1AEC43@mlsys.it>
X-Deja-AN: 476114114
Content-Transfer-Encoding: 7bit
Organization: Microlab Sistemi srl
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.vdbase.data.sql,borland.public.vdbase.programming