• Help on Prop:sql to fill an ABC Browse

    From Joep Borghans@21:1/5 to All on Mon Jun 8 08:20:30 2020
    Hi All,

    I want to fill a browse with an sql statement like this:

    self.Open()

    Self.View{prop:sql} = 'select xmlid, xmlTag , xmltagwaarde from xml002 where xmlid=1'

    Return
    It keeps giving me the followin error:

    Error file not open 37 dbo.xml002
    Does anyone have an good example of filling an browse

    Regards Joep

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Joep Borghans@21:1/5 to All on Tue Jun 9 08:47:39 2020
    Op maandag 8 juni 2020 17:20:32 UTC+2 schreef Joep Borghans:
    Hi All,

    I want to fill a browse with an sql statement like this:

    self.Open()

    Self.View{prop:sql} = 'select xmlid, xmlTag , xmltagwaarde from xml002 where xmlid=1'

    Return
    It keeps giving me the followin error:

    Error file not open 37 dbo.xml002
    Does anyone have an good example of filling an browse

    Regards Joep



    I have got the prop:sql working.
    The code is in the reset embed. But it ad's the records up on all the existing records. How can I clear the browse so only my prop:sql records remain?

    Regards Joep

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sean H@21:1/5 to Joep Borghans on Sun Jun 14 11:20:08 2020
    On 9/6/20 1:20 am, Joep Borghans wrote:
    Hi All,

    I want to fill a browse with an sql statement like this:

    self.Open()

    Self.View{prop:sql} = 'select xmlid, xmlTag , xmltagwaarde from xml002 where xmlid=1'

    Return
    It keeps giving me the followin error:

    Error file not open 37 dbo.xml002
    Does anyone have an good example of filling an browse

    Regards Joep


    I'd just have a normal table defined with those fields and let the
    normal browse templates deal with it.

    If this is a one off I'd use the dummy table technique (using turboSQL)

    You might also try asking on the groups at new.softvelocity.com and also
    try www.clarionhub.com


    Sean H

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)