Applying a filter automatically or button click
I know that this has been discussed in the forum before but the examples that are given will not work for me in Quality Centre.
I have written the following code so that if a user clicks a button that I have added all issued assigned to him will appear.
The code is as follows :
On Error Resume Next
Defects_ActionCanExecute = Project_DefaultRes
If ActionName = "My_Issues_filtered" then
Set tdc1 = New TDConnection
Dim BugFact, BugFilter
Set BugFact = tdc1.BugFactory
Set BugFilter = BugFact.Filter
BugFilter.Filter("BG_RESPONSIBLE") = "[CurrentUser]"
but nothing happens ?
Is there a refresh that I need to apply to get the current users issues to appear ?
Re: Applying a filter automatically or button click
You should use standart Vorkflow variable for TDConnection (or TDConnection, or tdc - I don't remember exactly).