Options

How to refresh a table box

pjfilipepjfilipe Member Posts: 10
I have done a dataport that imports bank statements, but after importing the data the table box remains empty and I have to close and reopen the bank account reconciliation form to display the imported values.

Anyone knows how to do this automaticaly?

Thanks

Paulo

Comments

  • Options
    sggsgg Member Posts: 109
    pjfilipe wrote:
    I have done a dataport that imports bank statements, but after importing the data the table box remains empty and I have to close and reopen the bank account reconciliation form to display the imported values.

    Anyone knows how to do this automaticaly?

    Thanks

    Paulo

    if you called the dataport from the Bank Account Reconciliation form, then after calling the dataport, add the code : CurrForm.UPDATECONTROLS;
    Sunday, Godwin G
  • Options
    RobertMoRobertMo Member Posts: 484
    Actually you should use:
    CurrForm.UPDATE(FALSE);
    

    If you read help:
    CurrForm.UPDATE[(SaveRecord)]
    Use this function to save the current record and then update the controls in the form. If you set the SaveRecord parameter to FALSE, this function will not save the record before the system updates the form.

    CurrForm.UPDATECONTROLS
    Use this function to reload the captions of all controls on the current form. This is necessary when the user changes the caption class of a control after the form has been loaded.
               ®obi           
    ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Sign In or Register to comment.