Can anyone help me clarify some information??
These maps are really useful as I said above! but im still hard coding some info in the app! as in the above example with the BOBSZIP, ZIPFROMJACK, PHILSZIP
records, I still make an initial list in the app to match the maps too!
So as I cant find a tutorial on the For Each command, am i right in presuming that reading the data into a map (initially) and then using the "For Each something as something) I could make the app completely work of the database, and add or remove things without having to update the code of the app!
A little update on the above so we you can see what i am doing!
I have a database with 5 fields, 1st field, contains a unique identifier, the other fields contain info like file name, file location, file image, file date
I have 4 maps! all use the 1st field as the key, and the data is from one of the remaining 4 fields! is this how maps are supposed to be used??
so I can just use urlmap.get("BOBSZIP") and it returns the url, and same locationmap.get("BOBSZIP") and I get the file location!
so im very close but as I said I want it to work purely off the database.
All the information is stored in a list (in one form or another, as I use coverflow, and customtlists for windows and android apps, but its in a list!)
So instead of doing the initial list creation manually. It looks like its I can make the list with a For Each ..... Is this correct??
If so can anyone point me to a good tutorial on For Each, as searching is not giving the info I need, I do see some examples but they are not really clear (to me at least)
Thanks
Aidy