Monday 10 August 2015

Assign value to Textbox in Microsoft Dynamics SL

For better results use both syntax then only buffer and control also updated.

1.Assign value to table buffers
     Dim Serviceid As String
     Serviceid="Test"
     Call SetBufferValue("bsmservcall.servicecallid", Trim(Serviceid))

2.Assign value to textbox by control name
     Dim Serviceid As String
     Serviceid="Test"
     serr = SetObjectValue("cservicecallid", Trim(Serviceid))

  some time  the value was update but in screen it was not showing,in this time use the below code
       Call DispFields("form1", "")

No comments:

Post a Comment