Hi All,
I need a little advice on the best way to go about creating the following functionality:
Using an on screen keyboard, i want to search for a name in a list of different names.
Once the name has been found i want to render it the screen as text and then be able to click the name and have it trigger an event.
Do i need to use a script to do this? or is a database the best way to achieve it? Is there any way of doing this with an excel file set up? (although i can't see any way of searching an excel file)
A few points in the right direction would be great So I know i'm not doing this the long way round.
I've tried a few things, mainly with strings and string searches but I get the feeling I'm making this harder than it needs to be.
Thanks in advance
Chris
Hello Ventuzians!
THE FORUMS ARE CLOSED!
Please join our discord server HERE!! << click me
We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server
Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!
THE FORUMS ARE CLOSED!
Please join our discord server HERE!! << click me
We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server
Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!
Accessing a list of infomation
Moderator: Support
-
- Posts: 290
- Joined: 18 Jan 2012, 11:36
- Location: Dubai, United Arab Emirates
- Contact:
Re: Accessing a list of infomation
Well I'm not a programmer, but here is what I would do. I would use a XML file and a script to parse the list of names from the XML file into an array. That is very fast. When you search for a name you search the array. Since you have the user input and all the data inside the script you can use a lot of search mechanisms. The good thing is that you have an unique index in the array and XML file as well so you can pass that index out again and use it together with the button to trigger name specific content - which is also stored in the XML file.
Chris
Chris
Re: Accessing a list of infomation
This is roughly what i would do if I had to make a quick shot.
Its not 100% your solution but it will provide you with the knowledge you need.
A combination with Christians solution will probably work best.
Cheers!
Its not 100% your solution but it will provide you with the knowledge you need.
A combination with Christians solution will probably work best.
Cheers!
- Attachments
-
- SearchXML.vza
- Caution this is build dirty :)
- (430.21 KiB) Downloaded 305 times
Re: Accessing a list of infomation
Excellent. Thanks for the replies. I'll have a play with those ideas and come back to you with how it worked out.
speak soon
Chris
speak soon
Chris
Re: Accessing a list of infomation
Just thought i'd drop back here to say thanks for the input from you both
A little reshuffle of the file you made oliver and its working exactly as i want it to many thanks for that!
I have to say Chris you have opened up a can of worms with the array parsing! i'm now neck deep in C#!! enjoying the possibilities though!!
I'm sure you'll be hearing from me again regarding code difficulties
Thanks again!
Chris
A little reshuffle of the file you made oliver and its working exactly as i want it to many thanks for that!
I have to say Chris you have opened up a can of worms with the array parsing! i'm now neck deep in C#!! enjoying the possibilities though!!
I'm sure you'll be hearing from me again regarding code difficulties
Thanks again!
Chris
Re: Accessing a list of infomation
Glad to hear
Code on! Cheers!
Code on! Cheers!
-
- Posts: 290
- Joined: 18 Jan 2012, 11:36
- Location: Dubai, United Arab Emirates
- Contact:
Re: Accessing a list of infomation
Good on you mate!
Glad we could help!
Glad we could help!