 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Serge Guest
|
Posted: Mon Jan 05, 2004 3:02 am Post subject: Tdblookup - setting a value |
|
|
Hi folks,
I am using D7, all the bells and whistles in w2k.
I have 4 tables defined, main and lookup1 ... lookup4.
All are working together so that if I select an item in any lookup, the correct keyfield value is stored in the main table in the correct field.
How can I get it so that if by selecting and item from lookup1, that it sets the value in all the others automatically?
The problem is that I want the user to see that for example that by choosing 'Yes' in lookup1 ... Lookup2-4 are set to 'No'.
I have tried setting the listfieldindex to a certain value, but this makes no visible change and doesn't appear to affect the datafield value at all.
Thanks in advance.
Serge
|
|
| Back to top |
|
 |
Serge Guest
|
Posted: Mon Jan 05, 2004 3:23 am Post subject: Re: Tdblookup - setting a value - nevermind got it |
|
|
Nevermind
Had to set it via the table and let the dbaware control handle it. Thanks .
Serge
"Serge" <bease (AT) stthomasu (DOT) ca> wrote:
| Quote: |
Hi folks,
I am using D7, all the bells and whistles in w2k.
I have 4 tables defined, main and lookup1 ... lookup4.
All are working together so that if I select an item in any lookup, the correct keyfield value is stored in the main table in the correct field.
How can I get it so that if by selecting and item from lookup1, that it sets the value in all the others automatically?
The problem is that I want the user to see that for example that by choosing 'Yes' in lookup1 ... Lookup2-4 are set to 'No'.
I have tried setting the listfieldindex to a certain value, but this makes no visible change and doesn't appear to affect the datafield value at all.
Thanks in advance.
Serge
|
|
|
| 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
|
|