I am trying to pass the contents of a field in Compuware's TrackRecord to a VB6 executable. The information below the line states the Help text in TrackRecord:
----------------------------------------------------------
Executable Button Properties
Administrators can add a button to a type to launch an external application.
Use Properties to specify:
The file name of the program that the executable button will open
For example, enter "notepad.exe" to have the button launch the Windows Notepad accessory
The Parameter control string field lets you specify the command line parameters with which the executable file can be called
For example, the entry "test" will launch Notepad and open the file named test.txt, or will create a new test.txt if none exists. You can also use the %f "<fieldname>" parameter to launch the executable with the contents of a named field on the item as the parameter passed to the executable.
-----------------------------------------------------------
The last sentence above the line is the one I am confused with. In my TrackRecord form, I have a field called Enterprise Code (a 3 character field). I want to send the contents of Enterprise Code and automatically place this information into the Enterprise Code field in my VB application. Based on the syntax above, I am have put the following in the parameter control string property in TrackRecord: %f "<Enterprise Code>"
Does anyone out there now how I can make this work??!!
I would appreciate any direction.
Jody
----------------------------------------------------------
Executable Button Properties
Administrators can add a button to a type to launch an external application.
Use Properties to specify:
The file name of the program that the executable button will open
For example, enter "notepad.exe" to have the button launch the Windows Notepad accessory
The Parameter control string field lets you specify the command line parameters with which the executable file can be called
For example, the entry "test" will launch Notepad and open the file named test.txt, or will create a new test.txt if none exists. You can also use the %f "<fieldname>" parameter to launch the executable with the contents of a named field on the item as the parameter passed to the executable.
-----------------------------------------------------------
The last sentence above the line is the one I am confused with. In my TrackRecord form, I have a field called Enterprise Code (a 3 character field). I want to send the contents of Enterprise Code and automatically place this information into the Enterprise Code field in my VB application. Based on the syntax above, I am have put the following in the parameter control string property in TrackRecord: %f "<Enterprise Code>"
Does anyone out there now how I can make this work??!!
I would appreciate any direction.
Jody