@dbcolumn in view selection

Is it possible to use @dbcolumn in a view selection?

I want to get a specific date with @dbcolumn from view 1 and display in view 2 only documents created before or after this date.

Anyone any suggestions? Is it possible to use profile documents?

THANKS!

Subject: @dbcolumn in view selection

Usage of Dbcolumn from Lotus Help------------------------------------

@DbColumn is intended mainly for use with keyword formulas. Instead of hard­coding a list of keywords and then periodically updating that list by re­editing the form containing the keyword field, @DbColumn allows you to dynamically retrieve a list of values from a database view or table.

This function does not work in column or selection formulas, or in mail agents.

From what i understand, i think u can achieve it by using a categorized view and displaying a single category. The view should be categorized with the key you wouldve used in dbcolumn

Subject: RE: @dbcolumn in view selection

I don’t think that will work either. It’d be fine if he were looking for a single date, but he needs a range. In order to cobble together a category which would mark out an arbitrary range of dates, the categorized view column would have to use @DBLookup or the like, which can’t be used in column formulas any more than it can be used in selection formulas.

Subject: @dbcolumn in view selection

As the documentation says:

This function does not work in column or selection formulas, or in mail agents.

You can’t use @GetProfileField or @Environment in a view selection formula, either. In short, I’m not sure you can do this with a view. You may have to select documents programmatically with LotusScript and put them into a folder.