R: O$: Remove columns from a row

Franco Maregotto franco at termeadriatico.it
Tue Apr 14 15:42:12 EDT 2009


Christine
I did never try to remove a column from a row or list.
I did never had the need to do it.
Just curious: why do you need this?
Can't you just leave the values there and display only what you need?

Ciao
Franco

-----Messaggio originale-----
Da: omnisdev-en-bounces at lists.omnis-dev.com
[mailto:omnisdev-en-bounces at lists.omnis-dev.com] Per conto di Steve Finger
Inviato: martedì 14 aprile 2009 20.11
A: OmnisDev List - English
Oggetto: Re: O$: Remove columns from a row

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





More information about the omnisdev-en mailing list