C# read UDF
Tom Verkerk
hallo allen,I want to display the content of a field, when I use this below it goes well.
MessageBox.Show("BP value: " + TextEdit.GetFromUID(pVal.Form,"5").Value, "OK");But when I want to read an UDF then I become nothing.
MessageBox.Show("BP value: " + TextEdit.GetFromUID(pVal.Form,"U_Field").Value, "OK");Who can help me.
Kind Regards
Tom Verkerk
Fritz Schwendemann
Hi TomFor UDFs it's
... GetFromUID(pVal.Form.UDFForm, ....
Kind regards
Fritz
Tom Verkerk
Hallo Fritz,Ich möchte ein UDF vorwählen.
Können Sie mir ein komplettes Beispiel nennen.
Viele Dank
Mein Deutsch ist nicht so gut
Fritz Schwendemann
Hello TomI don't know what you mean aout 'vorwählen'. If you want to show the content of a UDF in a messagebox, the code would be:
MessageBox.Show("BP value: " + TextEdit.GetFromUID(pVal.Form.UDFForm,"U_Field").Value, "OK");
You only forgot '.UDFForm', this is why it didn't work.
Fritz
0
Please sign in to leave a comment.
Comments
0 comments