Search found 270 matches

by DavJans
Fri Dec 06, 2024 9:00 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Android app all of a sudden cant test on a physical device
Replies: 1
Views: 6536

Re: Android app all of a sudden cant test on a physical device

I figured it out. Android doesn't support ODBC. I switched from MySQL to SQL server. This works just fine in wondows but not on android which is why I was confused. put revOpenDatabase("ODBC","DRIVER=SQL Server;SERVER=();DATABASE=<>;UID=<>;PWD=<>;Trusted_Connection=<>",,,) into tResult Does anyone k...
by DavJans
Fri Dec 06, 2024 5:37 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Android app all of a sudden cant test on a physical device
Replies: 1
Views: 6536

Android app all of a sudden cant test on a physical device

Hi all, not sure what I did. Nothing crazy in the code. Have had this app for 5+ years now but needed to point to a new server. As it is hard coded just for personal use I just updated the connection string. Now when I try to re- install it on my device using my device as a test target it seems to t...
by DavJans
Wed Jun 05, 2024 9:07 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Renaming so they are all the same
Replies: 5
Views: 8078

Re: Renaming so they are all the same

bn, that's what I needed. Got it sorted.
by DavJans
Wed Jun 05, 2024 8:51 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Renaming so they are all the same
Replies: 5
Views: 8078

Re: Renaming so they are all the same

My bad.. loop through every line and if anything grouped by item 1 (PL A572-50 3/8) has Plate Processor East in item 14, ensure everything in that group is East. In this example data there is one that is West and needs to be changed to East. Its part of Logic for routing material to the correct mach...
by DavJans
Wed Jun 05, 2024 7:30 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Renaming so they are all the same
Replies: 5
Views: 8078

Renaming so they are all the same

Need a little help with this one, Getting nothing returned. -- Split the lines into an array for easy manipulation split tData3 by return -- Initialize a dictionary to hold grouped lines by item 1 put empty into groupedLines -- Group lines by the first item repeat for each line currentLine in tData3...
by DavJans
Tue Aug 09, 2022 7:31 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Video into BLOB?
Replies: 5
Views: 2992

Re: Video into BLOB?

I have not done anything with livecode yet, just using MySQL Workbench to get the query working first. I found that same stackoverflow and that's where I started but couldn't get it to work. I get that this may not be the best place for a MySQL question but the community is awesome. Screenshot 2022-...
by DavJans
Fri Aug 05, 2022 9:37 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Video into BLOB?
Replies: 5
Views: 2992

Re: Video into BLOB?

I also changed it into a LONGBLOB
by DavJans
Fri Aug 05, 2022 9:26 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Video into BLOB?
Replies: 5
Views: 2992

Re: Video into BLOB?

I tried this, didn't get an error but it doesn't do anything.

Code: Select all

UPDATE Books SET book = LOAD_FILE("U:\\Books\\In-Memory Data Grids for Dummies.pdf") WHERE id = 1
by DavJans
Fri Aug 05, 2022 7:03 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Video into BLOB?
Replies: 5
Views: 2992

Video into BLOB?

Is there a way for me to put a video file into a MySQL BLOB?
by DavJans
Mon Jul 18, 2022 10:16 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Is there a way to do this but using livecode? (VB)
Replies: 1
Views: 1791

Is there a way to do this but using livecode? (VB)

Does anyone know if there is a way to do this in livecode? A coworker of mine is super smart with VB and I am not. I need to convert what he is doing in livecode. I attached some screen shots. He is using a dll and classes, I've never done something like this in livecode. does anyone know if there i...
by DavJans
Fri Jul 01, 2022 9:31 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Updating datagrid but keep selected line
Replies: 2
Views: 1790

Re: Updating datagrid but keep selected line

OMG, what a stupid mistake, thank you
by DavJans
Fri Jul 01, 2022 7:35 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Updating datagrid but keep selected line
Replies: 2
Views: 1790

Updating datagrid but keep selected line

I'm trying to keep the selected line after updating a datagrid. put the dgHilitedIndex of group "DataGridCutList" into cutlistLine --Update datagrid set the dgHilitedLines of group "DataGridCutList" to cutlistLine This works great until I sort the datagrid. After sorting and selecting line 1 (visual...
by DavJans
Thu May 12, 2022 11:47 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How can I replace a random amount of spaces with 1 comma?
Replies: 19
Views: 7553

Re: How can I replace a random amount of spaces with 1 comma?

Nice thank you, that looks much cleaner and efficient.
by DavJans
Thu May 12, 2022 10:39 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How can I replace a random amount of spaces with 1 comma?
Replies: 19
Views: 7553

How can I replace a random amount of spaces with 1 comma?

There has to be a better way than this? replace " " with "," in tLine replace " " with "," in tLine replace " " with "," in tLine replace " " with "," in tLine replace " " with "," in tLine replace " " with "," in tLine replace " " with "," in tLine replace " " with "," in tLine replace " " with ","...
by DavJans
Wed Jan 05, 2022 7:47 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: JDK Path: (none)
Replies: 2
Views: 2070

Re: JDK Path: (none)

Thank you so much, that did the trick.