 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Norbert Liew Guest
|
Posted: Sat Aug 02, 2003 3:35 pm Post subject: Double Row DBGRID component ? |
|
|
Well I am looking for a component that can offer pair rows of data, well I
don't know how to put it, let's say,
instead of doing this,
Name Age Tel Marital Status
John 40 12345 S
May 38 54321 M
I would like it to be displayed in such,
Name Age
Tel Marital Status
John 40
12345 S
May 38
54321 M
The reason being so I don't have to cramp so many fields in one line and
have to scroll through the grid.
Thanks for any help.
Regards,
Norbert.
|
|
| Back to top |
|
 |
Pomme-granite Guest
|
Posted: Wed Aug 13, 2003 5:28 pm Post subject: Re: Double Row DBGRID component ? |
|
|
You don't have to use a grid! Use a TDBCtrlGrid, but use labelled
TDBEdit controls for each field.
Pomme-granite
On Sat, 2 Aug 2003 23:35:22 +0800, "Norbert Liew" <nliew (AT) pc (DOT) jaring.my>
wrote:
| Quote: | Well I am looking for a component that can offer pair rows of data, well I
don't know how to put it, let's say,
instead of doing this,
Name Age Tel Marital Status
John 40 12345 S
May 38 54321 M
I would like it to be displayed in such,
Name Age
Tel Marital Status
John 40
12345 S
May 38
54321 M
The reason being so I don't have to cramp so many fields in one line and
have to scroll through the grid.
Thanks for any help.
Regards,
Norbert.
|
|
|
| Back to top |
|
 |
Maxim Bastion Guest
|
Posted: Mon Aug 18, 2003 10:09 am Post subject: Re: Double Row DBGRID component ? |
|
|
Hi,I am sorry I can have some mistake, because I am from Ukraine.
About your question,
if you use server RDBMS like Oracle, MS sql, DB2 and others you can
use some tables where be kept name all_tables and all_fields
those tables. For example in Oracle for tables it is view: "sys.all_tables"
and for fields it is view: "sys.all_col_comments".
but if you use DBMS like those foxpro 2.6, paradox, dbase and others,
you can do it this way:
1. create reference table where you will be kept names of all yuor table.
2. create reference table where you will be kept of all your name fields
and referense on table created on step1.
Next step need for both events, all the same have you Server Rdbms or not.
Difference only where you will take name field.
3. when you need edit table, you will create form where will create
component DBEdit or others component for edit data in your base. How much
field and what fields need create you will must know from your referses
books,
created on step1 and step2.
It is the most common steps. And if you never did it you can will not
understand me. I have some examples which do all that I writed above. But it
only
for oracle use.
Bay, if that write me.
"Norbert Liew" <nliew (AT) pc (DOT) jaring.my> wrote
| Quote: | Well I am looking for a component that can offer pair rows of data, well I
don't know how to put it, let's say,
instead of doing this,
Name Age Tel Marital Status
John 40 12345 S
May 38 54321 M
I would like it to be displayed in such,
Name Age
Tel Marital Status
John 40
12345 S
May 38
54321 M
The reason being so I don't have to cramp so many fields in one line and
have to scroll through the grid.
Thanks for any help.
Regards,
Norbert.
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|