Search found 107 matches
- Thu Mar 31, 2016 2:33 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Remove Carriage Returns
- Replies: 51
- Views: 25397
Re: Remove Carriage Returns
Found this: replaceText(stringToChange, matchExpression, replacementString) from Dictionary. then replaceText("Description","cr"," ") looks like it should work. Does not work. Not enough information. The field is Description. I want to either remove or change carriage returns so that they do not cau...
- Thu Mar 31, 2016 1:41 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Put the long date into field
- Replies: 10
- Views: 4705
Re: Put the long date into field
EXCELLENT! Works.
Thank you.
Not being miserly. This was all the relative code. Trying to keep it simple.
Help appreciated.
Thank you.
Not being miserly. This was all the relative code. Trying to keep it simple.
Help appreciated.
- Thu Mar 31, 2016 1:17 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Load Image From MySQL Database
- Replies: 6
- Views: 3327
Re: Load Image From MySQL Database
I did. Plus went to the samples and tutorials without finding anything like this. Here's what needs to happen: An image in a DataGrid field needs to change according to the id of the listing. The data for the listing is taken from multiple tables in one database. The table that references the images...
- Thu Mar 31, 2016 1:16 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Put the long date into field
- Replies: 10
- Views: 4705
Re: Put the long date into field
The rest of the code doesn't pertain to that.
Check this out:
set the text of field "Begins" of me to pDataArray["label 3"]
put the long date into field "Begins"
Check this out:
set the text of field "Begins" of me to pDataArray["label 3"]
put the long date into field "Begins"
- Thu Mar 31, 2016 1:13 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Remove Carriage Returns
- Replies: 51
- Views: 25397
Re: Remove Carriage Returns
This does go in the Row Behavior, right?
If so, it doesn't work.
Also tried in field script and changing fld to field in each.
Doesn't work there either.
Suggestions?
If so, it doesn't work.
Also tried in field script and changing fld to field in each.
Doesn't work there either.
Suggestions?
- Thu Mar 31, 2016 9:16 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Load Image From MySQL Database
- Replies: 6
- Views: 3327
Load Image From MySQL Database
Needing to load images into DataGrid from MySQL database as needed. I have written a query that gets the ID of the needed image. The required image is not in the table. The actual image is in a folder. The table only contains the names of the image and not their locations. The rest of the location n...
- Thu Mar 31, 2016 9:01 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Force wrap long word in field
- Replies: 1
- Views: 1414
Force wrap long word in field
I have field that is populated with a URL from a MySQL database. A URL, of course, is one string with no spaces, in this case can be wider than the field containing it. That is the problem. The URL needs to be forced to wrap according to the width of the field, not truncate. I have looked for ways t...
- Thu Mar 31, 2016 8:55 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Remove Carriage Returns
- Replies: 51
- Views: 25397
Remove Carriage Returns
I have a description field that is called from a MySQL database. It has carriage returns and/or line feeds that cause parts of the text to go to Description field in a new row it creates, then into the next row, and the next row, until all the returns in the field are used. The problem is how to kee...
- Thu Mar 31, 2016 7:41 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Put the long date into field
- Replies: 10
- Views: 4705
Put the long date into field
"put the long date into field----" only puts date in every 2nd or 3rd field. It was putting the change in every other field, then every third field, but never every field. How does one get this to work on all fields? Boxes are unchecked for having this happen.
- Thu Mar 31, 2016 7:34 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Cascading Menus
- Replies: 5
- Views: 2910
Re: Cascading Menus
Instead of reinventing the wheel I used a static list of the 50 states. Then used that choice to query the database. Putting that result into DataGrid was next. I decided not drill down any further, in displaying the data by city instead of state. Problem solved.
Thanks.
Thanks.
- Mon Mar 28, 2016 5:11 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Cascading Menus
- Replies: 5
- Views: 2910
Re: Cascading Menus
Will do.
What I'm building is hopefully probably something a lot of folks might be able to use, a state, city, facility, pulldown menu using database selected items. I see lots of them around. I have one that works in php.
Any input appreciated.
What I'm building is hopefully probably something a lot of folks might be able to use, a state, city, facility, pulldown menu using database selected items. I see lots of them around. I have one that works in php.
Any input appreciated.
- Mon Mar 28, 2016 5:03 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to apply Row and Column Templates to Datgagrid
- Replies: 46
- Views: 21430
Re: How to apply Row and Column Templates to Datgagrid
Super reply. Sure nuff missed max tho. There have been multiple epiphanies though. I found this one was a little strange tho. Once I found the way the data grid is able to display, the default area turned out to be really small. That's how I missed it. I can laugh now but at first :evil: . Whew! Got...
- Mon Mar 28, 2016 4:35 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Cascading Menus
- Replies: 5
- Views: 2910
Re: Cascading Menus
If I can help it. Not relative to anyone's work status.
I will look into those.
Thank you.
I will look into those.
Thank you.
- Sun Mar 27, 2016 3:23 pm
- Forum: Summer School 2013
- Topic: Database to Data Grid and back again - best methods
- Replies: 14
- Views: 55951
Re: Database to Data Grid and back again - best methods
I agree with Quentin. The complexity of the datagrid makes it where it needs excellent documentation for the beginner and the advanced user, for the free AND the premium, IF there is to be new blood into the life of LiveCode. The documentation for LiveCode is terrible, especially for the beginner an...
- Sat Mar 26, 2016 9:27 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Cascading Menus
- Replies: 5
- Views: 2910
Cascading Menus
How does one get pull down menu button to populate from database (MySQL) and have those items be able to be selected as menu items, then send that selection to the next button, and the next button.The button sequence is State->City->Facilities List->List of events at that facility in DataGrid. Succi...