LinkedButton doesn't load UDF
Hamza Tatlitürk
Hello,I have a problem with UDF in Service Contracts. I create TextEdit and ComboBox and bound them to UDF in OCTR in Form_Load event and update the Form. It works fine, when I open the Sevice Contract Form and Search, Add and Update (Data is loaded after Form_Load event).
The problem is, when I open a Service Contract via LinkedButton f.e. in Customer Equipment Card (Data is loaded before Form_Load event). In this case, the UDF for ComboBox are loaded correctly, but not for TextEdit. If I don't create TextEdit for the UDF and update the Form, I can see the correct values in the UDF Form. If I do, the values are overwritten with empty string or 0.
What is to do?
Thanks and regards,
Hamza
Paolo Manfrin
Hello Hamza.I guess you get an exception when you try to open using the linked arrow.
You should catch the exception and create and re-fill the TextEdit reading data from the database instead of the UDF form.
regards,
paolo
0
Please sign in to leave a comment.
Comments
0 comments