Dogbonesix Active Member Licensed User Longtime User Oct 12, 2012 #1 I have a Dataset that has several fields of which one is called Name and a corresponding field called Alias. Name is a unique field which is really Name & ID while Alias is only Name. ListView only displays Name. I want to click on Alias and in some magical way be able to query on Name. All the data is available while populating the ListvLiew and could easily be collected (Public Array?) while populating the ListView. I guess I could populate a second (hidden) ListView2 while ListView1 displays Alias while the query uses the corresponding Name in ListView2. If anybody has a better solution or a hint it would be certainly be appreciated.
I have a Dataset that has several fields of which one is called Name and a corresponding field called Alias. Name is a unique field which is really Name & ID while Alias is only Name. ListView only displays Name. I want to click on Alias and in some magical way be able to query on Name. All the data is available while populating the ListvLiew and could easily be collected (Public Array?) while populating the ListView. I guess I could populate a second (hidden) ListView2 while ListView1 displays Alias while the query uses the corresponding Name in ListView2. If anybody has a better solution or a hint it would be certainly be appreciated.
Erel B4X founder Staff member Licensed User Longtime User Oct 12, 2012 #2 You should post this question in the questions forum not "forum discussions" which is a place to discuss forum issues. You can use AddSingleLine2 and add a custom type that holds all the values that you need. There are several examples in the forums for that.
You should post this question in the questions forum not "forum discussions" which is a place to discuss forum issues. You can use AddSingleLine2 and add a custom type that holds all the values that you need. There are several examples in the forums for that.
Dogbonesix Active Member Licensed User Longtime User Oct 12, 2012 #3 I am not too familiar with "AddSingleLine2 and add a custom" but it seems intriguing. Thanks PS I guess I was confused on which forum was best
I am not too familiar with "AddSingleLine2 and add a custom" but it seems intriguing. Thanks PS I guess I was confused on which forum was best