I have a DBloolupcombobox associated with an table from an absolute database.
I want to display the first record value and not a blank value in it when my program starts in the onactivate event.
I tried: DBLookupcombobox.text:=TableTrial.FieldByName('TrialName').AsString; but it says that the left side is read-only.
I hope i am making sense.Right now when i click on the pull down arrow, I see all my values from the tables. I just want to display the first value in thge table and not a blank value.
Thanks.
P
I want to display the first record value and not a blank value in it when my program starts in the onactivate event.
I tried: DBLookupcombobox.text:=TableTrial.FieldByName('TrialName').AsString; but it says that the left side is read-only.
I hope i am making sense.Right now when i click on the pull down arrow, I see all my values from the tables. I just want to display the first value in thge table and not a blank value.
Thanks.
P