Okay, so I am new to this forum. I am working with Rational ClearQuest for work and it utilizes Basic scripts. I have some programming experience but no VB. I have been googling for most help but this one I am stuck on. Hopefully someone can help.
Scenario:
Two Tables within one SQL database
Project with a column called Defect_Lead
Defect wtih a column called Lead. **Note there is also a referenced field(column) called "Project" No scripted was needed to get this one to work, but I think because it was the name name of the other table.
In the Defect script under the field Lead I need to write a VB script that will take the data from the Project tab column Defect_Lead and display and add it to the column in the Defect table.
Some background, here is what I have written so far.
This script is written in the Defect table.
Sub lead_DefaultValue(fieldname)
fieldname As String
record type name is Defect
field name is Lead
If GetFieldValue("Project").GetValue() != " " then
REM Need to pull the value that was set in Defect_Lead field(column) in the Project Table
REM Need to than Take that value from Defect_Lead and populate the Lead field in the Defect table
End if
Any help would be greatly appreciated!