Article View: borland.public.vdbase.data.sql
Article #1461Re: Table losing focus
From: Bowen Moursund
Date: Tue, 06 Jan 1998 00:00
Date: Tue, 06 Jan 1998 00:00
18 lines
1394 bytes
1394 bytes
>I have a notebook with tabs. The first tab has entry fields for table one, >on tab 2, I have a grid. When I right click and add a record on the grid, I >lose focus on table 1 when I go back to that tab1. I'm using the dmd with >rowsets to create the proper indexing link. > >When I go to tab 2, table 2 what is the syntax (and where would I place it) >that tells the program that I want to add a row in table 2 and not table 1? Are you using the DataButtons.Cc controls? Their methods typically work with the rowset specified by form.rowset. You'll need to ensure that form.rowset refers to the desired rowset when the form's page is changed. The notebook control's onSelChange event handler would be the place to do it. __ Bowen Moursund (TeamB) bowen.NOSPAM@nerds.com http://www.mindspring.com/~bowenm/datatech.htm
Technical Details
Message-ID:
<68ub2u$4dv4@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<689les$pfj1@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: ff5a1,4f229407f0d32131 X-Google-Attributes: gidff5a1,public From: "Bowen Moursund" <teamb@opto-pps.com> Subject: Re: Table losing focus Date: 1998/01/06 Message-ID: <68ub2u$4dv4@forums.borland.com> X-Deja-AN: 313425630 Content-Transfer-Encoding: 7bit References: <689les$pfj1@forums.borland.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Organization: DataTech Newsgroups: borland.public.vdbase.data.sql