O$: Remove columns from a row

Christine Penner christine at ingenioussoftware.com
Tue Apr 14 15:46:12 EDT 2009


This row is used to put together an update 
statement. I either need to remove one column 
from the row, or pick apart the string after. I'm 
guessing the second will be easier. I have to 
remove a column that is causing conflicts with other updates in the program.

Christine

At 12:42 PM 14/04/2009, you wrote:
>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
>
>
>_____________________________________________________________
>Manage your list subscriptions at http://lists.omnis-dev.com




More information about the omnisdev-en mailing list