About populating Data Grids with external txt file.

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
LJE
Posts: 5
Joined: Fri Aug 19, 2016 10:36 am

About populating Data Grids with external txt file.

Post by LJE » Sat Aug 20, 2016 8:14 pm

I have very little scripting experience. I'm having immense problem trying to populate my Data Grid with external text files (I struggle learning external stuff overall) so my workaround is to put the texts I need inside field tables inside an "inaccessible" card. So instead of importing external files to populate my Data Grids, I use the text of the field tables in that "inaccessible" card. It's working fine. My question is is my method as efficient as using external file or will it slow down my program?

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10324
Joined: Wed May 06, 2009 2:28 pm

Re: About populating Data Grids with external txt file.

Post by dunbarx » Sun Aug 21, 2016 2:05 am

Hi.

If you set the "dgText" of your DG with tab and return delimited data, it will just "go in". Is it then simply a matter of formatting?

Craig Newman

MaxV
Posts: 1580
Joined: Tue May 28, 2013 2:20 pm
Contact:

Re: About populating Data Grids with external txt file.

Post by MaxV » Wed Aug 31, 2016 10:35 am

Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

Post Reply