Jump to content


Photo

TUniDBLookupComboBox KeyValue Issues


  • Please log in to reply
6 replies to this topic

#1 majori

majori

    Advanced Member

  • SMembers
  • PipPipPipPip
  • 101 posts

Posted 07 January 2017 - 06:03 PM

hi

I have to problem with UniDBLookupCombo

 

1- I want to change keyvalue by code,but not work

 

I do a test on UniGUI demo(DBLookupCombo)

 

and used Lookup Combo with ListSource only :

UniDBLookupComboBox1.KeyValue=1510;

not work too

 

2-if ListSource . DataSet is empty we got this error

2wv9_bug.jpg


  • 0

#2 Farshad Mohajeri

Farshad Mohajeri

    Administrator

  • Administrators
  • 8842 posts

Posted 07 January 2017 - 06:16 PM

In that demo you should set:

UniDBLookupComboBox2.KeyValue := 1510;

  • 0

#3 majori

majori

    Advanced Member

  • SMembers
  • PipPipPipPip
  • 101 posts

Posted 07 January 2017 - 06:25 PM

hi

Yes I used this code but not work
in prevous version it work good


  • 0

#4 Farshad Mohajeri

Farshad Mohajeri

    Administrator

  • Administrators
  • 8842 posts

Posted 07 January 2017 - 06:37 PM

Can please explain the steps we need to follow to reproduce this issue?

 

Thanks


  • 0

#5 majori

majori

    Advanced Member

  • SMembers
  • PipPipPipPip
  • 101 posts

Posted 07 January 2017 - 06:43 PM

I m sorry it work now.
But if ListSource . DataSet is empty we got this error
2wv9_bug.jpg


  • 0

#6 Farshad Mohajeri

Farshad Mohajeri

    Administrator

  • Administrators
  • 8842 posts

Posted 07 January 2017 - 06:47 PM

Can you attach here your modified demo project?

 

Thanks


  • 0

#7 Farshad Mohajeri

Farshad Mohajeri

    Administrator

  • Administrators
  • 8842 posts

Posted 10 January 2017 - 05:39 PM

I m sorry it work now.
But if ListSource . DataSet is empty we got this error
2wv9_bug.jpg

 

I can not reproduce this error. Please send a test case.


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users