Clear @SetViewInfo Filter

Greetings all. I posted this question last week, and did not see any fix for this issue. I wanted to re-post it now that everyone should be back from their holiady extravaganzas!!!

I have an issue with @SetViewInfo not clearing. It does not seem to matter what code I put where. Here is the situation:

I have an outline with some “Computed” entries for what they are supposed to display in the “data” frame. One such outline entry, for example:

Label: Customers

Source:

LIST := @DbColumn(“” : “noCache”; “”; “CustomersLookup”; 1);

CUS := @Prompt([OkCancelCombo]; “Choose Customer”; “Choose the customer to search for from the list below.”;“”;LIST);

@Command([OpenFrameset]; “SHIFrames”);

@SetTargetFrame(“data”);

@Command([OpenView]; “AllCustomersSearch”);

@SetViewInfo([SetViewFilter]; CUS; “DeviceCustomerCat”;1)

Frame: data

When I click the “Customers” link in the outline, it displays the popup box and I select my customer. The view opens in the data frame for just that customer. When you click off that view to any other, no data is displayed. I have searched these forums, and from what I can tell I am supposed to put this in the QueryClose statement of my “AllCustomersSearch” view:

@SetTargetFrame(“data”);

@UpdateFormulaContext;

@SetViewInfo([SetViewFilter]; “”; “DeviceCustomerCat”;1)

When I do this, however, and switch to another view in the database I get “Cannot execute this command”. I also tried the following in the same QueryClose statement:

@SetTargetFrame(“data”);

@UpdateFormulaContext;

@SetViewInfo([SetViewFilter]; “”; “”;1)

I got the same error message. Finally, I tried leaving out the first 2 lines and only specifying the 2 @SetViewInfo statements, and I got the same errors. Does anyone else have any ideas on where I can go from here to resolve this issue? Thanks!

Chris Ivey

Verizon Data Services

Enterprise Network Support Services

Network Management Tools Group

Temple Terrace, Florida