Skip to content

changing indexes in new appw

Forums Forums SIMPOL Programming changing indexes in new appw

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #49
    JD Kromkowski
    Participant

    I want to change indexes using toolbar. This works fine in my main appw window. But in new appw function toolbarcomboevents(wxformcombo me, appwindow appw) // I get error 39 here appw.setcurrenttable(tinfo) But as I am thinking about it I really don’t understand what this line is supposed to be doing anyway This seems to be correct and doesn’t break anything. tinfo.record.selectcurrent(index, error = e) //appw.setcurrenttable(tinfo) What am I missing?

    #2164
    Michael
    Keymaster

    On 05/03/2013 17:50, kromkowski wrote:
    > I want to change indexes using toolbar. This works fine in my main appw
    > window. But in new appw
    >
    > function toolbarcomboevents(wxformcombo me, appwindow appw)
    >
    > // I get error 39 here
    > appw.setcurrenttable(tinfo)
    >
    > But as I am thinking about it I really don't understand what this line
    > is supposed to be doing anyway
    >
    > This seems to be correct and doesn't break anything.
    >
    > tinfo.record.selectcurrent(index, error = e)
    > //appw.setcurrenttable(tinfo)
    >
    >
    > What am I missing?
    >

    Hi John,

    I can't see why you would get a parameter miscount here either.

    Ciao, Neil

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.