BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Tdblookup - setting a value

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Desktop)
View previous topic :: View next topic  
Author Message
Serge
Guest





PostPosted: Mon Jan 05, 2004 3:02 am    Post subject: Tdblookup - setting a value Reply with 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
Serge
Guest





PostPosted: Mon Jan 05, 2004 3:23 am    Post subject: Re: Tdblookup - setting a value - nevermind got it Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Desktop) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.