On Sun, Mar 1, 2009 at 11:08 AM, Ed Leafe <[email protected]> wrote:

> On Feb 28, 2009, at 8:56 PM, tim awa wrote:
>
> > I would guess that the order which these values are returned by
> > getParams
> > match the order of the parameter declaration in the WHERE clause.
> > Correct?
>
>         Well, yeah, unless you like surprises!  ;-)
>
> > Hmmm ... how about this:
> >
> > select * from tbldoc where position('%s' in docnote) > 0
> >
> > In the above sql, I am trying to select records whose docnote field
> > contains
> > the parameter string. Let us just suppose that this parameter is set
> > by the
> > user from a bizobj lookup table. Can one get the parameter value off
> > the
> > bizobj after the user has set the record pointer of the lookup
> > dataset?
>
>         I wouldn't get the value from the bizobj; instead, when the user
> makes the selection, the form would get that value from the control
> and call a bizobj method, passing the value. The unrelated bizobj may
> be needed for the lookup values, but if you aren't using that value in
> a foreign key relationship, then the form should just pass it to the
> main bizobj.
>

Yes I would do it that way too, but this is just a hypothetical question.
Can the form get the value directly from the bizobj? (I just want to appease
my ignorance/confusion about bizobjs.)


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to