Mattersphere Developers Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Go down
avatar
Admin
Admin
Posts : 122
Join date : 2018-12-17
https://mattersphere-devs.forumotion.com

Combobox Filtering - Not Working On Edit Empty Combobox Filtering - Not Working On Edit

Thu 23 Jan 2020 - 16:12
Hello all,

I have set up combobox filtering - one box filtering the contents of another - as per the manuals and it is working when adding a record. When opening the wizard to edit the value of the second combobox does not get set to that which is stored, but to the value at the top of the list (even thought other controls on the page open fine).

Has anybody encountered this before?
Thanks,
Gareth
___________________________________________________________________________________________________________________________________
Have you set the DefaultValue of the second combo to %%
___________________________________________________________________________________________________________________________________
That was weird my “%%” disappeared into XML
___________________________________________________________________________________________________________________________________
Oh no!
it's %fieldname% but replace fieldname with the name of the field the combo is linked to or make sure the combo is mapped to the right data source
___________________________________________________________________________________________________________________________________
Nope, still no luck. Peter, this can wait until you are on-site on Monday.
Cheers,
Gareth
___________________________________________________________________________________________________________________________________
Gareth,
Have you tried refreshing the search list from the ActiveChanged event of the combobox?
G
___________________________________________________________________________________________________________________________________
Hi Gareth, Can you check the creation order of the combo boxes. The combo that is being filtered should have a higher creation order than the controlling combo. Regards Richard
Back to top
Permissions in this forum:
You cannot reply to topics in this forum