🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ab.software.developers
Article #1491

DBGrid Problem

#1491
From: CyberByte
Date: Wed, 05 Nov 1997 00:00
40 lines
2323 bytes
Alright, here's my problem.  Let's see if any of you folks can figure this
out cause I sure can't.

Let me start from the beginning.
First of all I've got a form that I enter records on in simple data-bound
text boxes and so on.  On another form I've got the records that I entered
on the previous form, plus a DBGrid to enter details about this specific
record.

Now here's my problem.

On this second form I've got an option group with two options.  Checking one
of those options changes a value in a hidden column on the grid.  Now listen
closly.

When I click on a record on the grid and I toggle the option button, then
click in another row for the current record and change main records, the
dbgrid record moves along to the next record.

Alright, that probably wasn't to clear.  Let me try an put this in other
words (english).

Think of the DBGrid sort of like a subform on an ACCESS form.  (so all the
records/rows in the grid are part of the details for the main record).  When
I change the value of a hidden column on the grid that is bound to a field
in my database, and then change details followed by changing main records
(moving to another main record with its own set of details/grid).  The row
that I had just changed using the option button has been moved into the
details grid of the record I moved to.

Anyway, I hope I've made this clear enough for anyone to answer, because I
really need help here.

Thanks

A fellow programmer


--- Some people's minds wander, some leave completely ---
Technical Details
Message-ID: <63p1oc$4up$1@nr1.ottawa.istar.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: 10f676,32eb2d4ddd6ff2e5,start
X-Google-Attributes: gid10f676,public
X-Google-Thread: 104586,32eb2d4ddd6ff2e5,start
X-Google-Attributes: gid104586,public
X-Google-Thread: 10be7f,32eb2d4ddd6ff2e5,start
X-Google-Attributes: gid10be7f,public
X-Google-Thread: 10f2ee,32eb2d4ddd6ff2e5,start
X-Google-Attributes: gid10f2ee,public
From: "CyberByte" <cbyte@xcelco.on.ca>
Subject: DBGrid Problem
Date: 1997/11/05
Message-ID: <63p1oc$4up$1@nr1.ottawa.istar.net>
X-Deja-AN: 287180284
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
Organization: iSTAR internet Incorporated
Newsgroups: ab.software.developers,microsoft.public.vb.database,microsoft.public.vb.database.dao,microsoft.public.vb.enterprise