Finally managed to stubborn my way into a solution with this. Seems to be working just fine, but if anyone has a better suggestion, I am all ears! Sample code is reproduced below.
Thanks -Paul
on IM08Connected pSocket
-- save the socket ID in a global variable
put pSocket into IM08SockeT ...
Search found 20 matches
- Sun Dec 16, 2012 6:10 am
- Forum: Internet
- Topic: Socket data protocol with binary data size
- Replies: 1
- Views: 4928
- Mon Sep 03, 2012 4:58 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Data entry field, what best to use?
- Replies: 8
- Views: 8917
Re: Data entry field, what best to use?
You don't seem overly boneheaded.
The fun is just starting. Do write back often. I bet you will be continually amazed at how neat, how rich, this thing is.
Do you know what Hypercard was? In other words, what decade of life are you in?
Craig Newman
Oh, been around the business for a bit over ...
The fun is just starting. Do write back often. I bet you will be continually amazed at how neat, how rich, this thing is.
Do you know what Hypercard was? In other words, what decade of life are you in?
Craig Newman
Oh, been around the business for a bit over ...
- Mon Sep 03, 2012 1:18 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Data entry field, what best to use?
- Replies: 8
- Views: 8917
Re: Data entry field, what best to use?
All your points are easily handled with scripts in the dataGrid.
(grin) I expect it is easy, once one figures it out. The Datagrid seems very complex, though it is trivial to use it for say, retrieving and displaying data from a SQL database.
There is one thing you must change in your ...
(grin) I expect it is easy, once one figures it out. The Datagrid seems very complex, though it is trivial to use it for say, retrieving and displaying data from a SQL database.
There is one thing you must change in your ...
- Sun Sep 02, 2012 6:10 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Data entry field, what best to use?
- Replies: 8
- Views: 8917
Re: Data entry field, what best to use?
I would use a datagrid. The cells certainly DO respond in the normal way to both tab and shift-tab. You can easily script the transfer to the next row when you are at the far right side.
I would NOT use hundreds of fields. This can be managed as well, but is inelegant.
Hi Craig - it is a data ...
I would NOT use hundreds of fields. This can be managed as well, but is inelegant.
Hi Craig - it is a data ...
- Sun Sep 02, 2012 3:16 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Data entry field, what best to use?
- Replies: 8
- Views: 8917
Data entry field, what best to use?
I have a screen (card) that needs to be able to accept from zero to 200 separate fields the user may enter. (These are alternate references they may wish to link to the main record, and consist of 11 character fields.)
Something along these lines:
XXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXX ...
Something along these lines:
XXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXX ...
- Thu Aug 30, 2012 4:41 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Up to date Commercial or Open Source JSON Parser?
- Replies: 4
- Views: 4933
Re: Up to date Commercial or Open Source JSON Parser?
I haven't used libJSON myself, but it has a pretty good reputation. What issues did you experience with it?
Probably mostly user error. It seemed to miss some data items last night, but checking it tonight, they are all there, so maybe it was just me being too tired.
I really wish it was ...
Probably mostly user error. It seemed to miss some data items last night, but checking it tonight, they are all there, so maybe it was just me being too tired.
I really wish it was ...
- Wed Aug 29, 2012 12:27 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Up to date Commercial or Open Source JSON Parser?
- Replies: 4
- Views: 4933
Up to date Commercial or Open Source JSON Parser?
It isn't that hard to write a parser and encoder for JSON, but it sure would be nice to just be able to drop a few bucks and buy one.
I looked at the Libjson-1.xx download, but it is a few years old, has no real documentation, and uh - didn't work as expected. It is a couple of years old, and ...
I looked at the Libjson-1.xx download, but it is a few years old, has no real documentation, and uh - didn't work as expected. It is a couple of years old, and ...
- Thu Aug 23, 2012 10:10 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: revOpenDatabase with remote sqlite...
- Replies: 6
- Views: 6132
Re: revOpenDatabase with remote sqlite...
Thanks Klaus, but I'm thinking it might be easier to make my app web-based and run it on the same server as the sqlite database.
It's a bit difficult to backtrack from where I am now.
--paul
Hi Paul -
You can run SQLite databases in a client/server configuration, there are several products out ...
It's a bit difficult to backtrack from where I am now.
--paul
Hi Paul -
You can run SQLite databases in a client/server configuration, there are several products out ...
- Mon Aug 20, 2012 4:10 pm
- Forum: Databases
- Topic: Datagrids, Tables, Columns, and "How do I do that?"
- Replies: 3
- Views: 5001
Re: Datagrids, Tables, Columns, and "How do I do that?"
Hi Paul,
can't you just use "revDatabaseColumnNames()"?
That will return a COMMA delimited list of all the columnnames for a give database table.
Check the dictionary for more info.
Best
Klaus
Told you I was a dB2 guy. Automatically sought a SQL based solution. :)
I missed that the ...
can't you just use "revDatabaseColumnNames()"?
That will return a COMMA delimited list of all the columnnames for a give database table.
Check the dictionary for more info.
Best
Klaus
Told you I was a dB2 guy. Automatically sought a SQL based solution. :)
I missed that the ...
- Mon Aug 20, 2012 4:30 am
- Forum: Databases
- Topic: Datagrids, Tables, Columns, and "How do I do that?"
- Replies: 3
- Views: 5001
Re: Datagrids, Tables, Columns, and "How do I do that?"
Well, finally figured out how to set the column headings. Whew!
But it still seems like there is a bit of a dearth of meta information about the tables in SQLite. How are you guys handling that?
Keeping a master table of tables with column label names, maxsizes, etc? Or am I just over thinking ...
But it still seems like there is a bit of a dearth of meta information about the tables in SQLite. How are you guys handling that?
Keeping a master table of tables with column label names, maxsizes, etc? Or am I just over thinking ...
- Mon Aug 20, 2012 12:23 am
- Forum: Databases
- Topic: Datagrids, Tables, Columns, and "How do I do that?"
- Replies: 3
- Views: 5001
Datagrids, Tables, Columns, and "How do I do that?"
Pretty basic question I am afraid, so apologies in advance if this is something simple and I just cannot find it in the documentation. Also, I'm a dB2 kind of guy, and I may be making assumptions that don't apply about SQLite and LiveCode. :)
I can create and manage a SQLite database now with no ...
I can create and manage a SQLite database now with no ...
- Fri Aug 17, 2012 4:17 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Modest sized dataset and datagrid
- Replies: 9
- Views: 7741
Re: Modest sized dataset and datagrid
The "If the Shiftkey is down" is really a cool testing idea, thanks!
I should have looked up wait in the Dictionary, "wait 0 ticks with messages" is a lot faster than "wait 1 tick with messages" :)
If I have not said how much I appreciate the pointers, well - I do! Thanks!
-Paul
I should have looked up wait in the Dictionary, "wait 0 ticks with messages" is a lot faster than "wait 1 tick with messages" :)
If I have not said how much I appreciate the pointers, well - I do! Thanks!
-Paul
- Fri Aug 17, 2012 11:56 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Modest sized dataset and datagrid
- Replies: 9
- Views: 7741
Re: Modest sized dataset and datagrid
No, I just wasn't clear because I was in a rush and wanted to be sure I got a thank you in there in a timely manner. I had written it up earlier, but lost that post.
Putting a wait in there with each iteration dramatically slowed down execution, so I added an if statement to only wait each 500 ...
Putting a wait in there with each iteration dramatically slowed down execution, so I added an if statement to only wait each 500 ...
- Thu Aug 16, 2012 2:56 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Modest sized dataset and datagrid
- Replies: 9
- Views: 7741
Re: Modest sized dataset and datagrid
I can do that -
ABCDEF XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Number Pref Address Line 1 Address Line 2 Address Line 3 Address Line 4 Name
9999999999 999 XX XXXXXXXX XXXXX XX XXXX XX 99999-9999 XXXXXX,XXXXXXX ...
ABCDEF XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Number Pref Address Line 1 Address Line 2 Address Line 3 Address Line 4 Name
9999999999 999 XX XXXXXXXX XXXXX XX XXXX XX 99999-9999 XXXXXX,XXXXXXX ...
- Thu Aug 16, 2012 1:40 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Modest sized dataset and datagrid
- Replies: 9
- Views: 7741
Modest sized dataset and datagrid
I wonder how you guys would do this? :)
A modest sized dataset, a text file of about 30,000 lines, formatted with fixed fields (no tabs).
Want to read it into a datagrid to enable fast finds, sorting by different columns, etc.
I can read the file into a variable (even pulling it from a webserver ...
A modest sized dataset, a text file of about 30,000 lines, formatted with fixed fields (no tabs).
Want to read it into a datagrid to enable fast finds, sorting by different columns, etc.
I can read the file into a variable (even pulling it from a webserver ...