When I manually enter the attribute, it comes up with 3 different data entry options but when I look at the attribute in .NET it shows IsMTextAttribute = FALSE.
What is the best way to set the multiline block attribute?
I don't know if the way I have been updating my multiline attributes is the best way to go about it. I have probably taken some ideas from here and there. My biggest problem was find a way to display imperial dimensions, like say 12'-3 3/4" properly formatted with diagonal fractions. I had to format the string prior to assign it to the contents of the mtext. Here is how I have been doing it. I hope it gives you some ideas and perhaps other people will suggest better ways.
If Att.IsMTextAttribute = True Then Mtxt = Att.MTextAttribute Mtxt.Contents = "Test" Att.MTextAttribute = Mtxt Att.UpdateMTextAttribute() End If
My problem is that the attribute has IsMTextAttribute = FALSE therefore, it would never do the logic inside your If statement.
Try example from this page
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.