9/2/2023 0 Comments Scriptcase macro collapse tab![]() * Optional: Makes the sample page fill the window. * Always set the map height explicitly to define the size of the div ![]() Sc_lookup(ds,"SELECT latitude,longitude,first_name,surname FROM staff WHERE active=1") My code looks like this: $LatLong = array() I have tried rtrim and trim, and neither work, but they do take the value right off of the end of the whole result, if that makes sense?Īpologies in advance if this is incredibly simple! I cannot get my head around how to remove this. It works perfectly, however throughout the generated array, it automatically places a comma at the end of every line. ![]() I am essentially selecting multiple fields from the database, preparing them using json to be placed inside a function for a Google Maps API (latitude and longitude, firstname and surname for description). So hopefully somebody can help.įirstly, I am using scriptcase, although this shouldn't matter as I am using a blank application and the only scriptcase macro I am utilising in my code is a database lookup, as you will see. I have an issue which has been causing me a headache for a few days and is probably a really simple fix for somebody with a bit more knowledge around json data than me. Scriptcase 9 General scriptcaser June 19, 2021, 4:26pm 1 So there’s a macro to hide a block entirely but is there a way to toggle it in the onLoad event (it will remain on screen but switched between opened or closed) The collapse setting in Form Settings > Layout > Blocks is just static.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |