🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

VDB7 - DMD Question

#1154
From: Patricia Dilmore
Date: Tue, 21 Apr 1998 00:00
19 lines
1225 bytes
I want to create a data module for use in a report, that selects
specific records from a parent table, specific records from a child
table, links the two, and constrains parent records to those in the
child table.  I can't figure out how to do this with sql.  In dos, I
would :
sele 1
use procs order claimno
sele 2
use claims
set rela to claimno into procs
set filter to closed = false and procs->tos = 'X'
In the dmd, I am trying 'select * from claims WHERE closed = false' and
'select * from procs WHERE tos = "X"'; then setting master rowset, etc.
but how do I now constrain the parent records?  (.sql query is out
because I want to write to the tables as report is processing.) Thanks
for help.

Patricia
Technical Details
Message-ID: <353D1963.4C0D@Bellsouth.net>
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: ff5a1,438323d64b0ab196,start
X-Google-Attributes: gidff5a1,public
From: Patricia Dilmore <pdilmore@Bellsouth.net>
Subject: VDB7 - DMD Question
Date: 1998/04/21
Message-ID: <353D1963.4C0D@Bellsouth.net>
X-Deja-AN: 346379436
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
Organization: Patricia Dilmore
Mime-Version: 1.0
Reply-To: pdilmore@Bellsouth.net
Newsgroups: borland.public.vdbase.data.sql