Subject Re: [IBO] How can I...
Author Helen Borrie
At 03:10 AM 28-08-01 +0000, you wrote:
>I have a LookupCombo but sometimes I know the value that should be in
>the field, so my question is how can I assign a value to the
>underlying field of the KeySource?

You can simply assign it in the AfterInsert of the dataset, or in the After Modify of the ib_row.

If you have a default value in mind, you could set that in the DefaultValue field property in the dataset editor or, at table level, in the DefaultValues property of the ib_connection.

hth
Helen

All for Open and Open for All
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________