pro_imaj Posted May 15, 2018 Share Posted May 15, 2018 Merhaba; UnidbLookCombobox => ListField alanındaki text değeri otomatik nasıl getirebilirim. Örneğin; UnidbLookCombobox => ListField listesindeki herhangi bir değer tabloda var, var olan ilgili kayıtı otomatik nasıl seçtire bilirim? UnidbLookCombobox Listesindeki Veriler A Veri B Veri C Veri Ben tabloda B Veri değerini tutuyorum ve bunu otomatik seçtirmek istiyorum (Kod ile) Teşekkürler. Quote Link to comment Share on other sites More sharing options...
pro_imaj Posted May 15, 2018 Author Share Posted May 15, 2018 Sorunu aşağıdaki şekilde çözdüm; //Query ilgili satıra konumlansın UniMainModule.QList.Filter := 'Tanim = ''' + UniMainModule.QKullanici.FieldByName('Tanim').AsString + ''' '; UniMainModule.QList.FindFirst; //dblookupcombobox ilgili alan seçilsin. look.KeyValue := UniMainModule.QTest.FieldByName ('Tanim').AsString; //Seçim işlemi yürüt lookSelect(Sender); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.