Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
cpilot — — source: Informix-list mailing list archive (1991-1998)
Greetings Net.Wisdom,
I am attempting to understand the 4gl that Fourgen generates in regard
to line item deletes in the detail section of a header-detail screen
when in the "update" option.
Specifically I am looking at lld_delete() (detail.4gl) and the sql
statement:
delete from det_table where join_fld = m_rec.join_fld
What vexes me is that when I run this statement in dbaccess (replacing
m_rec.join_fld with an actual value) this deletes all the rows meeting
this criteria; however, Fourgen 4gl manages to delete just the row that
was F2'd (line-item deleted).
Can someone please explain to me what I am failing to see and
understand? How is it that Fourgen is able to use the same function for
line-item deletes and record-deletes ("delete" from the ring menu)?
Much thanks!
-Todd
Willamette Industries, Inc.
--
Richard Shannon
cpilot@teleport.COM
Todd Bernhardt
cpilot@teleport.COM
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.