Search found 34 matches

by Bellballer1
Tue Jul 21, 2020 5:16 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Reference DataGrid or Data Array?
Replies: 10
Views: 483

Re: Reference DataGrid or Data Array?

Hi Klaus, I was able to resolve the problem with changing objects on the Data Grid. I obviously needed to change the code in the "LayoutControl" in the Behavior Script of the DG that referenced an image object, so thus the error when I changed to a button object. Now that I'm using buttons, I don't ...
by Bellballer1
Mon Jul 20, 2020 7:34 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Reference DataGrid or Data Array?
Replies: 10
Views: 483

Re: Reference DataGrid or Data Array?

iOS and Android are CASE sensitive operating systems! In your very first script you have a folder named -> Images -> Upper case i But in the last scipts posted here you use -> images -> lower case i So please fix this and try again! After your 1st reply when you suggested this, I changed all the fo...
by Bellballer1
Mon Jul 20, 2020 6:23 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Reference DataGrid or Data Array?
Replies: 10
Views: 483

Re: Reference DataGrid or Data Array?

Hi Klaus, Thanks again for looking at this. 1. Did you add the folder "Images" to your runtime via the "Copy files" tab in the "Standalone Appliction Settings"? If not, there will be no images in your runtime! 2. Why not put that folder into the folder that contains your current stack? That way no n...
by Bellballer1
Mon Jul 20, 2020 5:33 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Reference DataGrid or Data Array?
Replies: 10
Views: 483

Re: Reference DataGrid or Data Array?

Hello Klaus, I incorporated the changes you suggested regarding using specialFolderPath(“resources”), but nothing seems to work in terms of getting the images stored in a folder, into the image object on my data grid. command uiPopulatePeople if the environment is “development” then put “/user/charl...
by Bellballer1
Fri Jul 17, 2020 4:03 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Reference DataGrid or Data Array?
Replies: 10
Views: 483

Re: Reference DataGrid or Data Array?

Hi Klaus, Thank you very much for the reply. I apologize for not using code tags to format my scripts in the earlier post. So here are all the handlers that I am attempting to use to display the image. The image should be displayed on card “display” in a larger version than what appears on the thumb...
by Bellballer1
Fri Jul 17, 2020 7:23 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Reference DataGrid or Data Array?
Replies: 10
Views: 483

Reference DataGrid or Data Array?

Reference the DataGrid or theData Array? Hello, I am working on an app that has a Map and a DataGrid. The map uses the LiveCode MapKit external, mergMK. On the card with the mergMK mapkit (card “map”), when the user touches the callout, I want the correct image to open on another card (card “display...
by Bellballer1
Wed Mar 23, 2016 2:38 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Getting correct result from database using counter
Replies: 20
Views: 3214

Re: Getting correct result from database using counter

Hi AxWald! I do have the proper lines in tData. I continuously check that tData contains the proper lines. I appreciate you taking a look! Really, all I'm trying to do is get different numbers into the markers on my map. For example, I want the 1st marker to be labeled "6", the 2nd marker should hav...
by Bellballer1
Mon Mar 21, 2016 9:00 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Getting correct result from database using counter
Replies: 20
Views: 3214

Re: Getting correct result from database using counter

Hi Pete!

I did change the SELECT statement. That part is working correctly.

I will send you everything to the email you provided. I very much appreciate you taking a look!
by Bellballer1
Mon Mar 21, 2016 3:48 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Getting correct result from database using counter
Replies: 20
Views: 3214

Re: Getting correct result from database using counter

Hi SparkOut! Thanks for taking a look. The addMarker handler is doing its job...it is putting the correct values into latitude, longitude, and title (using pPosition and pTitle). Additionally, I changed to "add 1 to tCounter" in "loadSelectedResult" and that did not change the results I am getting. ...
by Bellballer1
Mon Mar 21, 2016 2:34 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Getting correct result from database using counter
Replies: 20
Views: 3214

Re: Getting correct result from database using counter

Hi Pete! Thanks for the response...I really appreciate it. When I set the breakpoint, my tLocArray variables appear as they should. However, part of the problem is that its not updating (i.e. not reading line2, line3, etc.)...it is staying on line 1, so the only thing that appears in the markers is ...
by Bellballer1
Fri Mar 18, 2016 9:20 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Getting correct result from database using counter
Replies: 20
Views: 3214

Re: Getting correct result from database using counter

Here is the database schema: function databaseGetLocations put "SELECT Address, Latitude, Longitude, zIndex FROM Sites;" into tCreateListSQL put revDataFromQuery(tab,return,gDatabaseID,tCreateListSQL) into gLocationList return gLocationList end databaseGetLocations And here is the code that I use in...
by Bellballer1
Fri Mar 18, 2016 6:11 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Getting correct result from database using counter
Replies: 20
Views: 3214

Re: Getting correct result from database using counter

tData is right...I am getting the correct # of lines. I just added another record (now there are 3 records), and I got the same result...all my makers now have the zIndex from the 3rd line. I want: "var mrk_" = tLocArray[1]["zIndex"] "var mrk_1 = tLocArray[2]["zIndex"] "var mrk_2 = tLocArray[3]["zIn...
by Bellballer1
Fri Mar 18, 2016 5:26 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Getting correct result from database using counter
Replies: 20
Views: 3214

Re: Getting correct result from database using counter

Right, that's the part I don't understand either (getting the 4 results). I think it has to do with the counter and the repeat. Its giving me the result after the repeat, which in this case, is always going to be "tLocArray[2]["zIndex"]" since it is the last result when the counter ends.
by Bellballer1
Fri Mar 18, 2016 5:12 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Getting correct result from database using counter
Replies: 20
Views: 3214

Re: Getting correct result from database using counter

I can give modifying the "databaseGetLocations()" function. My database consists of 2 records, each line with a value for the "address, latitude, longitude, and zIndex." put databaseGetLocations() into tData put empty into tLocArray put 1 into tCounter set the itemDel to tab repeat for each line tLi...
by Bellballer1
Fri Mar 18, 2016 4:39 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Getting correct result from database using counter
Replies: 20
Views: 3214

Re: Getting correct result from database using counter

The records in the database are correct. The problem is that I'm getting 4 results returned, when I only want 2. I'm getting 2 results for each marker because I get 1 result for each line in my database. So this is how the results are being returned (function getMarkerCode): 1) "var mrk_" ## the zIn...

Go to advanced search