Datagrid - GetDataForLine

Marty Knapp martyknapp at
Wed Dec 7 19:27:39 CST 2011

Hi all,
Just got back to this after being away for a few days (celebrating my 
anniversary! For some weird reason "GetDataForLine" just wasn't on my 
mind . . .) And thanks to everyone who has chipped in on this.

So how is pLine derived when using GetDataForLine? Do I supply that or 
does the datagrid supply/keep track of it? I'm assuming that when you 
hook this up to a database that you're able to bookmark where you left 
off, but what about when feeding it from a tab-delimied list from a 
custom property? (and yes, I know I need to dive into learning database 
stuff and have been eying SQLYoga. But I have a project I need to get 
working ASAP.)

BTW (and this may be a dumb question) when accessing data in a custom 
property (read only) should one first put it into a variable or is it OK 
to access it directly? In other words is there anything wrong with this:

repeat for each line pLine in the uData of this stack
end repeat

Any speed or memory issues?

Thanks again,
Marty K
> Marty, I am no expert but let me share what I have learned over the past few weeks.
> Don't be too concerned about the database examples.   Look at the message handler carefully.
> command GetDataForLine pLine, @pDataA

More information about the use-livecode mailing list