That's what I thought - thanks for the confirmation, Dawn!

David

David Blocker
[EMAIL PROTECTED]
781-784-1919
Fax: 781-784-1860
Cell: 339-206-0261
----- Original Message -----
From: "Dawn Oakes" <[EMAIL PROTECTED]>
To: "RBG7-L Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, November 05, 2004 9:18 AM
Subject: [RBG7-L] - RE: Controlling properties of individual columns in a DB
Grid


David
Right now, you can't assign a component id to individual columns in a DB
Grid, so my guess is there's no way to control them using the property
command.  Would be a nice enhancement though <g>
Dawn

-----Original Message-----
From: David M. Blocker [mailto:[EMAIL PROTECTED]
Sent: Friday, November 05, 2004 8:52 AM
To: RBG7-L Mailing List
Subject: [RBG7-L] - Controlling properties of individual columns in a DB
Grid

I have a need to create a form for users to edit data being downloaded
into a database.  The form will be used to edit ONE column at a time,
but be able to VIEW the others.

I know I can do this with a scrolling region, locating individual DBEdit
controls and using code in an On Entry to Row EEP that branches
according to the part of the controlling program calling the code, eg:

IF vBranch = 1 THEN
  PROPERTY dbEDit1 ENABLED 'TRUE'
  PROPERTY dbEdit2 ENABLED 'FALSE'
  PROPERTY dbEDit3 ENABLED 'FALSE'
ENDIF

IF vBranch = 2 THEN
  PROPERTY dbEDit2 ENABLED 'FALSE'
  PROPERTY dbEdit2 ENABLED 'TRUE'
  PROPERTY dbEDit3 ENABLED 'FALSE'
ENDIF

etc.

Is there a way to do the same thing with a DBGrid control?

David Blocker
[EMAIL PROTECTED]
781-784-1919
Fax: 781-784-1860
Cell: 339-206-0261

Reply via email to