• auto refresh on browse box

    From Joe Tan@21:1/5 to All on Sat Jan 19 07:58:39 2019
    Hi,
    I just create an invoice form. I choose the insert another record option on message and titles. The scenario is when the record were inserted the browse box of the invoice will refreshed so the record inserted can be shown. I try many ways but still donâ€
    ™t succeed. Hope there’s anyone can help.

    Thanks,

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sean H@21:1/5 to Joe Tan on Fri Jan 25 17:04:21 2019
    On 20/1/19 1:58 am, Joe Tan wrote:
    Hi,
    I just create an invoice form. I choose the insert another record option on message and titles. The scenario is when the record were inserted the browse box of the invoice will refreshed so the record inserted can be shown. I try many ways but still
    don’t succeed. Hope there’s anyone can help.

    Thanks,


    Hi

    So you are inserting multiple records from a form?
    and you want the browse underneath to display them as they are inserted?

    The browse never gets back any processing, the form never exits, so the
    browse cannot refresh.

    To do this you would need to do a single insert, allow the browse to
    refresh and do your own code to call the form again. But there would be flickering as the form closes and opens.


    Sean H

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Joe Tan@21:1/5 to Sean H on Sun Jan 27 04:07:00 2019
    On Friday, January 25, 2019 at 2:04:28 PM UTC+7, Sean H wrote:
    On 20/1/19 1:58 am, Joe Tan wrote:
    Hi,
    I just create an invoice form. I choose the insert another record option on message and titles. The scenario is when the record were inserted the browse box of the invoice will refreshed so the record inserted can be shown. I try many ways but still
    don’t succeed. Hope there’s anyone can help.

    Thanks,


    Hi

    So you are inserting multiple records from a form?
    and you want the browse underneath to display them as they are inserted?

    The browse never gets back any processing, the form never exits, so the browse cannot refresh.

    To do this you would need to do a single insert, allow the browse to
    refresh and do your own code to call the form again. But there would be flickering as the form closes and opens.


    Sean H

    Dear Sean,

    Firstly thanks for your respond, Now I use the form by insert another record option. But I can't display all the record that has been insert same time and it will show after I close the form. I need to make the app like a supermarket system (POS) so the
    user only entry by the scanner and the result automatically shown on the beside of the entry process.

    Thanks,

    Joe

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Joe Tan@21:1/5 to Sean H on Sun Jan 27 04:08:44 2019
    On Friday, January 25, 2019 at 2:04:28 PM UTC+7, Sean H wrote:
    On 20/1/19 1:58 am, Joe Tan wrote:
    Hi,
    I just create an invoice form. I choose the insert another record option on message and titles. The scenario is when the record were inserted the browse box of the invoice will refreshed so the record inserted can be shown. I try many ways but still
    don’t succeed. Hope there’s anyone can help.

    Thanks,


    Hi

    So you are inserting multiple records from a form?
    and you want the browse underneath to display them as they are inserted?

    The browse never gets back any processing, the form never exits, so the browse cannot refresh.

    To do this you would need to do a single insert, allow the browse to
    refresh and do your own code to call the form again. But there would be flickering as the form closes and opens.


    Sean H

    Dear Sean,

    Firstly thanks for your respond, Now I use the form by insert another record option. But I can't display all the record that has been insert same time and it will show after I close the form. I need to make the app like a supermarket system (POS) so the
    user only entry by the scanner and the result automatically shown on the beside of the entry process.

    Thanks,

    Joe

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Joe Tan@21:1/5 to Sean H on Sun Jan 27 04:04:33 2019
    On Friday, January 25, 2019 at 2:04:28 PM UTC+7, Sean H wrote:
    On 20/1/19 1:58 am, Joe Tan wrote:
    Hi,
    I just create an invoice form. I choose the insert another record option on message and titles. The scenario is when the record were inserted the browse box of the invoice will refreshed so the record inserted can be shown. I try many ways but still
    don’t succeed. Hope there’s anyone can help.

    Thanks,


    Hi

    So you are inserting multiple records from a form?
    and you want the browse underneath to display them as they are inserted?

    The browse never gets back any processing, the form never exits, so the browse cannot refresh.

    To do this you would need to do a single insert, allow the browse to
    refresh and do your own code to call the form again. But there would be flickering as the form closes and opens.


    Sean H

    Dear Sean,

    Firstly thanks for your respond, Now I use the form by insert another record option. But I can display all the record that has been insert same time and it will show after I close the form. I need to make the app like a supermarket system (POS) so the
    user only entry by the scanner and the result automatically shown on the beside of the entry process.

    Thanks,

    Joe

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sean H@21:1/5 to Joe Tan on Mon Jan 28 10:20:22 2019
    On 27/1/19 10:08 pm, Joe Tan wrote:
    On Friday, January 25, 2019 at 2:04:28 PM UTC+7, Sean H wrote:
    On 20/1/19 1:58 am, Joe Tan wrote:
    Hi,
    I just create an invoice form. I choose the insert another record option on message and titles. The scenario is when the record were inserted the browse box of the invoice will refreshed so the record inserted can be shown. I try many ways but still
    don’t succeed. Hope there’s anyone can help.

    Thanks,


    Hi

    So you are inserting multiple records from a form?
    and you want the browse underneath to display them as they are inserted?

    The browse never gets back any processing, the form never exits, so the
    browse cannot refresh.

    To do this you would need to do a single insert, allow the browse to
    refresh and do your own code to call the form again. But there would be
    flickering as the form closes and opens.


    Sean H

    Dear Sean,

    Firstly thanks for your respond, Now I use the form by insert another record option. But I can't display all the record that has been insert same time and it will show after I close the form. I need to make the app like a supermarket system (POS) so
    the user only entry by the scanner and the result automatically shown on the beside of the entry process.

    Thanks,

    Joe


    Hi Joe

    I can think of 2 ways. 1. Include a read only list on the form that
    displays the previous entries.

    2. Set your form to normal (1 insert only) and in the browse.ask method,
    after generated code, put a POST(event:accepted, ?Insert) if the return response was level:benign.


    Sean H

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From cedarsystems@gmail.com@21:1/5 to All on Mon Jan 28 00:48:16 2019
    Drop the form and use EIP ?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Joe Tan@21:1/5 to Sean H on Wed Mar 27 09:31:53 2019
    Sean,
    Do you have any examples of those solution ?

    thx


    On Monday, January 28, 2019 at 7:20:30 AM UTC+7, Sean H wrote:
    On 27/1/19 10:08 pm, Joe Tan wrote:
    On Friday, January 25, 2019 at 2:04:28 PM UTC+7, Sean H wrote:
    On 20/1/19 1:58 am, Joe Tan wrote:
    Hi,
    I just create an invoice form. I choose the insert another record option on message and titles. The scenario is when the record were inserted the browse box of the invoice will refreshed so the record inserted can be shown. I try many ways but
    still don’t succeed. Hope there’s anyone can help.

    Thanks,


    Hi

    So you are inserting multiple records from a form?
    and you want the browse underneath to display them as they are inserted? >>
    The browse never gets back any processing, the form never exits, so the
    browse cannot refresh.

    To do this you would need to do a single insert, allow the browse to
    refresh and do your own code to call the form again. But there would be >> flickering as the form closes and opens.


    Sean H

    Dear Sean,

    Firstly thanks for your respond, Now I use the form by insert another record option. But I can't display all the record that has been insert same time and it will show after I close the form. I need to make the app like a supermarket system (POS) so
    the user only entry by the scanner and the result automatically shown on the beside of the entry process.

    Thanks,

    Joe


    Hi Joe

    I can think of 2 ways. 1. Include a read only list on the form that displays the previous entries.

    2. Set your form to normal (1 insert only) and in the browse.ask method, after generated code, put a POST(event:accepted, ?Insert) if the return response was level:benign.


    Sean H

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andy Flewelling@21:1/5 to All on Thu Mar 28 04:29:17 2019
    Try EIP?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sean H@21:1/5 to Joe Tan on Fri Mar 29 10:21:04 2019
    On 28/3/19 2:31 am, Joe Tan wrote:

    I can think of 2 ways. 1. Include a read only list on the form that
    displays the previous entries.

    2. Set your form to normal (1 insert only) and in the browse.ask method,
    after generated code, put a
    I can think of 2 ways. 1. Include a read only list on the form that
    displays the previous entries.

    2. Set your form to normal (1 insert only) and in the browse.ask method,
    after generated code, put a POST(event:accepted, ?Insert) if the return
    response was level:benign.
    if the return
    response was level:benign.
    Sean,
    Do you have any examples of those solution ?

    thx


    1. is just a browsebow with appropriate filter on the form
    2. is as I said above. In browse.ask embed point, after parent , add the
    code:
    IF Globalresponse=level:benign AND GlobalRequest=InsertRecord
    POST(event:accepted, ?Insert)
    END


    Sean H


    On Monday, January 28, 2019 at 7:20:30 AM UTC+7, Sean H wrote:
    On 27/1/19 10:08 pm, Joe Tan wrote:
    On Friday, January 25, 2019 at 2:04:28 PM UTC+7, Sean H wrote:
    On 20/1/19 1:58 am, Joe Tan wrote:
    Hi,
    I just create an invoice form. I choose the insert another record option on message and titles. The scenario is when the record were inserted the browse box of the invoice will refreshed so the record inserted can be shown. I try many ways but
    still don’t succeed. Hope there’s anyone can help.

    Thanks,


    Hi

    So you are inserting multiple records from a form?
    and you want the browse underneath to display them as they are inserted? >>>>
    The browse never gets back any processing, the form never exits, so the >>>> browse cannot refresh.

    To do this you would need to do a single insert, allow the browse to
    refresh and do your own code to call the form again. But there would be >>>> flickering as the form closes and opens.


    Sean H

    Dear Sean,

    Firstly thanks for your respond, Now I use the form by insert another record option. But I can't display all the record that has been insert same time and it will show after I close the form. I need to make the app like a supermarket system (POS) so
    the user only entry by the scanner and the result automatically shown on the beside of the entry process.

    Thanks,

    Joe


    Hi Joe

    I can think of 2 ways. 1. Include a read only list on the form that
    displays the previous entries.

    2. Set your form to normal (1 insert only) and in the browse.ask method,
    after generated code, put a POST(event:accepted, ?Insert) if the return
    response was level:benign.


    Sean H


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