Skip to Content

Formatting EditText defaults SBO

I have a probelm with formating Federal Tax ID (OCRD,LicTradNum) for exs.

123456778 become 1.234.56778 .

Could you help me

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 23, 2004 at 01:40 PM

    Well to do that you will need to bind the object in the form into the field in the table.

    oDBDataSource_PContas = oForm.DataSources.DBDataSources.Add("OACT")

    oForm.Items.Item("CntName").Specific.DataBind.SetBound(True, "OACT", "AcctName")

    With this, UIAPI will format the EditText as the field AcctName from table OACT.

    Best regards,

    Luís Fouto

    Add comment
    10|10000 characters needed characters exceeded