? DBGrid with additional *non-readonly* columns ?

? DBGrid with additional *non-readonly* columns ?

Post by Christian Morawiet » Tue, 19 Nov 1996 04:00:00



Hi!

I need a DBGrid with an additional *NON-READONLY* field/column.
Or (2nd var.) I need a DBCtrlGrid wich can contain a standard TEdit.

Any Idea?

Christian

--

 
 
 

? DBGrid with additional *non-readonly* columns ?

Post by Jethro Leun » Wed, 20 Nov 1996 04:00:00



> Hi!

> I need a DBGrid with an additional *NON-READONLY* field/column.
> Or (2nd var.) I need a DBCtrlGrid wich can contain a standard TEdit.

I don't understand what is "additional *NON-READONLY* field/column.
Or (2nd var.)"? Can you tell us more ?

> Any Idea?

> Christian

> --



 
 
 

? DBGrid with additional *non-readonly* columns ?

Post by Christian Morawiet » Wed, 20 Nov 1996 04:00:00


Quote:> I don't understand what is "additional *NON-READONLY* field/column.
> Or (2nd var.)"? Can you tell us more ?

In the field-editor of a DBGrid you can create one (or more) new column(s)
not linked to real fields of the dataset (table/query). My problem: this
"columns" are read only :-( But I need a additional INPUT-FIELD!!!

Christian
--

 
 
 

? DBGrid with additional *non-readonly* columns ?

Post by David Harp » Wed, 20 Nov 1996 04:00:00




>> I don't understand what is "additional *NON-READONLY* field/column.
>> Or (2nd var.)"? Can you tell us more ?

>In the field-editor of a DBGrid you can create one (or more) new column(s)
>not linked to real fields of the dataset (table/query). My problem: this
>"columns" are read only :-( But I need a additional INPUT-FIELD!!!

>Christian
>--


If you input something into one of these NON-READONLY fields, where
would you expect this data to go?  Maybe you better explain what
goal you are trying to achieve.

- David

 
 
 

1. Setting non-visible DBGrid columns.

All,

Forgive me if this question is elementary, but I've been digging through
documentation (and the lack thereof) for 2 days without success.

I've got a simple table, with, let's say, 5 columns.  The first is text,
and the others are numeric.

I have a DBGrid (and data control attached to the table), with the last 2
columns of the DBGrid (numeric) visible and editable.  I don't have problems
displaying the information, or editing it.  all works well.

My problem is this:  I want the user to be able to add a row to the
dbgrid/table (no big deal).  I can't figure out how to change the
3 columns in the DBGrid/table that are not visible, though.
These 3 columns need not be visibe to the user, and the user should never
be able to change them.  I need to update them, though.

I'm stuck!  I'm thinking that this is something quite easy, but I haven't
found any clear example of how to do it.  any assistance would be
greatly appreciated.

Steve Listopad
Lucent Technologies

2. Create an image file

3. How to get a parametrized, non-ReadOnly Recordset?

4. AT & T WIRELESS SERVICES - SEATTLE - Sybase DBA

5. HELP DBGrid: Controling data in and size of Columns in DBGrid

6. Null / Blank / Empty String Problems

7. Aggregate column and non-aggregate column

8. Deplhi , Interbase & win98 pb

9. How to change an identity column to non identity column

10. how to alter an identity column to a non-identity column

11. Selecting agg column and non-agg column in single query

12. Database readonly - only it's not readonly