How can I check if my combobox 's KeyValue is nil? (null)The combobox is a DBLookupComboBox.It 's KeyValue is Variant.
Thanks it works, my mistake was that I was using 'nil':Code: Pascal [Select][+][-]if DBLookupComboBox1.keyvalue = nil then I thought that nil in Pascal is the null used in other languages.
I thought that nil in Pascal is the null used in other languages.
Code: Pascal [Select][+][-] if DBLookupComboBox1.keyvalue = null then