Search found 462 matches

by lohill
Sat Jul 04, 2020 6:33 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Datagrid not showing it's data
Replies: 8
Views: 993

Re: Datagrid not showing it's data

Craig et al, Found it and as usual it was operator error. I went to the code for the button "My Default Column Behavior" (the one that was red in the Project Browser). On the surface everything looked as I thought it should (no red dots). I added a blank line to one of my sections of code and then p...
by lohill
Sat Jul 04, 2020 4:28 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Datagrid not showing it's data
Replies: 8
Views: 993

Re: Datagrid not showing it's data

Spark Out, My experience with datagrids has me agreeing to everything you have said. Over the years I have experienced this same thing and always just deleted the datagrid and started over. This is not a fun thing to have to do so I had hopes that someone else might have a simpler solution. Now that...
by lohill
Sat Jul 04, 2020 3:39 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Datagrid not showing it's data
Replies: 8
Views: 993

Re: Datagrid not showing it's data

Klaus and Craig, I copied DataGrid 1 and pasted it on the same card and changed its name to DataGrid 2. It showed no visible data. In the Inspector, under Contents, I can see all the data. I deleted all but 5 lines of the data in DG2 and refreshed the data. Still nothing visible but the vertical scr...
by lohill
Fri Jul 03, 2020 8:16 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Datagrid not showing it's data
Replies: 8
Views: 993

Datagrid not showing it's data

I have a table data grid that has 14 columns and 27,405 rows. The data is not visible and yet I can go into the IDE and under Datagrid-Contents see all the data. If I try Datagrid - Refresh Data the data still remains invisible. I can use 'set the dgText of group "DataGrid 1" to empty' and then relo...
by lohill
Fri Jun 19, 2020 2:52 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Encryption and SQLite
Replies: 13
Views: 2277

Re: Encryption and SQLite

Thanks Brian, I have been able to incorporate your suggestions in my larger project as well as the test project. I am still trying to work this out in my mind. At the risk of demonstrating that I still don't understand, is this generalization accurate: If you want to save encrypted data in a databas...
by lohill
Thu Jun 18, 2020 4:47 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Encryption and SQLite
Replies: 13
Views: 2277

Re: Encryption and SQLite

I have been struggling with this for a long time and I have convinced myself that there is a bug somewhere. I just don't know whether it is in LiveCode or SQLite or my understanding of the concepts involved. It may well be in my programming so I have included a simple stack to demonstrate what I see...
by lohill
Wed May 13, 2020 6:09 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Encryption and SQLite
Replies: 13
Views: 2277

Re: Encryption and SQLite

Thanks Brian,

This looks like it is exactly what I needed. I'll see how it works in the real situation where I want to try it. I had to read your points 2 and 3 about five times before the distinction started to sink in.

Larry
by lohill
Sun May 10, 2020 9:40 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Encryption and SQLite
Replies: 13
Views: 2277

Re: Encryption and SQLite

Good morning Bangkok, My ultimate goal in all this testing is to convince myself that I can encrypt some data and store it in a SQLite database and that at some point i can retrieve the data from the database and decrypt back to its original self. I have added a bit to my experiment. You should easi...
by lohill
Sun May 10, 2020 2:40 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Encryption and SQLite
Replies: 13
Views: 2277

Re: Encryption and SQLite

Bangkok, Thanks for taking a look and thanks for the reference to sqliteonline.com. If everything 'is normal' as you say then can I expect to be able to retrieve encrypted data from the database and, as long as I know the cipher and the cipherKey, I should be able to decrypt it back to the original ...
by lohill
Sat May 09, 2020 8:42 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Encryption and SQLite
Replies: 13
Views: 2277

Re: Encryption and SQLite

This message has been out here almost a week and been read my over 200 people. No one has made a comment on my thesis that encrypted data and SQLite databases do not appear to work well together. I know there are people on this forum qualified to make a comment so I must not have expressed myself ve...
by lohill
Sun May 03, 2020 2:19 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Encryption and SQLite
Replies: 13
Views: 2277

Encryption and SQLite

When my program starts, it checks to see it it's database is present. If the database is not found, it create 'SimplePass.db' in the Documents folder. In order to create this file it uses 3 custom variable in the stack. The custom variables are cDatabaseStructure, cRootSQL and cAccountSQL which are ...
by lohill
Wed Aug 14, 2019 3:50 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Identifying DataGrids
Replies: 2
Views: 1013

Re: Identifying DataGrids

Thanks Klaus,

You came to the rescue once again. I spliced that into the code I was working on and it did the job.

Larry
by lohill
Wed Aug 14, 2019 3:22 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Identifying DataGrids
Replies: 2
Views: 1013

Identifying DataGrids

Is there a function or a script that can look at all the controls on a card and identity the ones that are datagrids? I would like something that would return the just the names of any datagrids present.

Thanks,
Larry
by lohill
Sun Aug 04, 2019 1:53 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: LiveCode 9 Question
Replies: 4
Views: 1312

Re: LiveCode 9 Question

Thanks Jacque, Had I found those earlier I might have spent more time with LC 9. But now that Klaus told me about the "tab" I think I will try to get used to using the suggestions. Looked at the Snippets Manager and see that I can add or delete them but how do I use an existing snippet? Thanks, Larry
by lohill
Fri Aug 02, 2019 5:51 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: LiveCode 9 Question
Replies: 4
Views: 1312

Re: LiveCode 9 Question

Thanks for info Klaus. That is about the only key I didn't think of trying.

Larry

Go to advanced search