O$: Remove columns from a row
Peter van Rooij
petervanrooij at wanadoo.nl
Tue Apr 14 14:52:39 EDT 2009
Hello Christine,
Just take another list; for each column you want to preserve, add a
column to this new list, then merge the old list to the new one,
matching columnames.
HTH
Peter
On 14 apr 2009, at 20:30, Christine Penner wrote:
> Ok, Does anyone know how I can get rid of the link from an sqlclass.
> The issue is this row is copied from another that is defined from an
> sql class.
>
> Christine
>
> At 11:11 AM 14/04/2009, you wrote:
>> Christine,
>>
>> Though I never tried it, in StudioTips it says you cannot remove a
>> column from a list or row that has been defined using
>> $definefromsqlclass
>>
>> Steve Finger
>>
>> Christine Penner wrote:
>>> I have a row variable that is defined from an sql class. I want to
>>> remove a column from it. I don't care that it wont be connected to
>>> a table class anymore. This is what I was doing.
>>> Do pRow.$cols.$findname('FF_DRIVER') Returns ref ;; This gives
>>> me a valid ref to the column
>>> Do pRow.$cols.$remove(ref) ;; This does nothing
>>> Anyone have any ideas why it's not working?
>>> Thanks
>>> Christine
>>> _____________________________________________________________
>>> Manage your list subscriptions at http://lists.omnis-dev.com
>> _____________________________________________________________
>> Manage your list subscriptions at http://lists.omnis-dev.com
>
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
More information about the omnisdev-en
mailing list