Add text to a tabular note by form

I am trying to populate a row of a tabular note by using a form. Is this possible?

I see no reason why this would not be possible. You would only need to get the input text from the form and apply it to the proper cell in the tabular note.

What type of input form are you using - a Windows form, or an NX styled form?

I am new with coding vb in NX but I assume an NX form would be better since we will be upgrading in a couple months.

What version of NX are you using?

Also, note that if you don't want to work with VB, NX supports several other languages (C#, C/C++, Java, python {NX 10 and above only}).

We are using 7.5 . I didn't know that you could use those languages. If I got a head start I could probably finish the rest.

There is some code posted on the eng-tips website that gathers information from all the PMI dimensions in the model and creates a tabular note 'report' with the information. The "FillTable" subroutine shows how to add text to the individual cells. The journal runs on NX 7.5. For your purposes, you would use the text taken from the form rather than the info about the dimensions; assigning the text to the cells would be the same process though.

http://www.eng-tips.com/viewthread.cfm?qid=361232

This site uses VB almost exclusively for a few reasons. 1) I'm pretty comfortable with the language since I've used VB before and I've used VBA extensively with MS products (mostly Excel). 2) The syntax is fairly well self-documenting and 'newbie' friendly (IMHO, at least). 3) VB/VBA is pretty popular with many supporting books and websites to reference.

I'd love to have a feature similar to the MSDN website that shows the code examples in various languages depending on the option chosen by the user. However, I've just not had the time to pursue that.

I'm glad you showed me the code in VB it is exactly what I was looking for. What variable would I use to fill the table with information from a form ? This code is a bit confusing.

I don't currently have access to an NX license that allows me to create NX user forms, so I won't be able to answer that question directly. However, even without such a license, you can create and use Windows forms with your journal code. An article on using windows forms can be found here:
http://nxjournaling.com/content/using-winforms-journals

The code in the article allows the user to type in a value then assigns the value to a part attribute. It shows one way to transfer the user entered values to the journal code. With a little hacking, you could combine the two journals to allow the user to enter some text then use that text in a tabular note.

I imagine that the process is very similar for the NX userforms. If you need code about NX userforms specifically, you should try the GTAC answer website or the Siemens community forum (links to both can be found on the "resources page link" in the sidebar).

If you are interested in the windows form route, I can provide more assistance for your specific questions.