Tab in datagrid

Trevor DeVore lists at mangomultimedia.com
Fri Jun 5 08:47:52 EDT 2009


On Jun 4, 2009, at 10:43 PM, Hershel Fisch wrote:
>
>> Let me know if this helps.
> Yes but I have a bit difficulties understanding exactly how it works.
>
> I would write my script in the group and not in each and every column
> something like this..
>
> On closeFieldEditor pFieldEditor
>  put pColumnName into tC
>  revExecuteSQL databaseId, "INSERT INTO tableName" & tC & "VALUE" & \
>  the text of pFieldEditor."
> End closeFieldEditor

There is no pColumnName parameter but you can get the column that the  
target field is associated with using the dgColumn property.

on closeFieldEditor pFieldEditor
     put the dgColumn of the target into tC
     ....
end closeFieldEditor

Regards,

-- 
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com    -    www.screensteps.com



More information about the use-livecode mailing list