P peggjones Active Member Licensed User Longtime User Jul 20, 2013 #1 I have added a listview to an activity via the designer. When I try to add a single line to it it says that I must initialize it first. How can this be? I thought that is exactly what you are not supposed to do. Thanks
I have added a listview to an activity via the designer. When I try to add a single line to it it says that I must initialize it first. How can this be? I thought that is exactly what you are not supposed to do. Thanks
NJDude Expert Licensed User Longtime User Jul 20, 2013 #2 Have you "Generated Members" using the designer? (Tools -> Generate Members) Upvote 0
T thader2012 Member Licensed User Longtime User Jul 20, 2013 #3 Hi It isn't necessary. I think that the name of your listview in the designer not is the same that in your code. You should review the names of the variables. Upvote 0
Hi It isn't necessary. I think that the name of your listview in the designer not is the same that in your code. You should review the names of the variables.
P peggjones Active Member Licensed User Longtime User Jul 20, 2013 #4 The name is definitely the same. I have had to define the listview in a dim statement as well otherwise the program won't compile. The listview is in a second activity not the main one, if this gives a clue. Upvote 0
The name is definitely the same. I have had to define the listview in a dim statement as well otherwise the program won't compile. The listview is in a second activity not the main one, if this gives a clue.
NJDude Expert Licensed User Longtime User Jul 20, 2013 #5 You cannot define views in one activity and use it in another, I suggest you read the documentation, I have links to it in my signature below. Upvote 0
You cannot define views in one activity and use it in another, I suggest you read the documentation, I have links to it in my signature below.