Thread View: borland.public.delphi.vcl.components
2 messages
2 total messages
Started by Andrew Brott
Mon, 08 Jan 2001 00:27
Need help with TPageControl
Author: Andrew Brott
Date: Mon, 08 Jan 2001 00:27
Date: Mon, 08 Jan 2001 00:27
13 lines
2007 bytes
2007 bytes
Hello, I am new to Delphi 5.0 but have been programming for along time (RPG on an AS/400). Does anyone have a good example of the following: I have 3 files, all related, and am trying to display the information using a TPageControl. When I move from one client to another using abutton, I want the information on the TPageControl to stay in sync. That is, I want the Spouse and Family information for a Client to change when I change to a different client. So far I can navigate to a new client record, but the spouse and family information does not change to the new client#. Any suggestions? Andrew Brott Three Creeks Computing, Inc.
Re: Need help with TPageControl
Author: Bj�rge S�ther
Date: Mon, 08 Jan 2001 09:50
Date: Mon, 08 Jan 2001 09:50
28 lines
2745 bytes
2745 bytes
"Andrew Brott" <abrott@threecreekscomputing.com> skrev i melding news:gL766.36$05.18645@nntp1.onemain.com... > Hello, I am new to Delphi 5.0 but have been programming for along time (RPG > on an AS/400). Does anyone have a good example of the following: > > I have 3 files, all related, and am trying to display the information using > a TPageControl. When I move from one client to another using abutton, I > want the information on the TPageControl to stay in sync. That is, I want > the Spouse and Family information for a Client to change when I change to a > different client. So far I can navigate to a new client record, but the > spouse and family information does not change to the new client#. Any > suggestions? If I understand you correctly, you have a number of related tables, and want the relations to be used for moving current record/selection of all tables simultaneously. This may be done with MasterSource / MasterFields, and a correponding IndexFieldNames property with TTable components. If you're on TQuery, you need to rerun the related queries with the driving query's field values as parameters for the query. -- Bjoerge Saether Consultant / Developer http://www.itte.no Asker, Norway bjorgeremovethis@itte.no (remove the obvious)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads