Opened 17 years ago

Closed 15 years ago

#1612 closed enhancement (fixed)

A Visible Formula attribute in Queries (patch)

Reported by: humdinger Owned by: stippi
Priority: normal Milestone: R1
Component: User Interface Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

This is hrev22860 in vmware.

There is tip262 "Show formula query strings in Tracker" on the Tipserver (which has been down at http://www.betips.net for some time now...). I think it'll be nice to have that out of the box. Here's the tip, originally from Chris Herborth:

Supergeeks who use formula queries frequently might like to be able to edit their formulas directly from the Tracker, rather than having to edit the queries first.

To do this, you need to take the hidden attribute that stores the formula and make it visible. That hidden attribute is called _trk/qrystr. Open the FileTypes preferences panel and scroll to application/Be Query. In Extra Attributes, click Add. Give the new attribute the name "formula" (without the quotes) and the Internal name _trk/qrystr. Make it of the type String, and select the Editable and Visible checkboxes. Give it a default display width of 200, click Done, close FileTypes, and close then re-open any Tracker windows displaying queries. You should now have a Query sub-type in the Tracker's Attributes menu from which you can select "formula."

Attachments (1)

formula-attribute.diff (674 bytes ) - added by humdinger 15 years ago.
Add an attribute for the formula of a query

Download all attachments as: .zip

Change History (5)

by humdinger, 15 years ago

Attachment: formula-attribute.diff added

Add an attribute for the formula of a query

comment:1 by humdinger, 15 years ago

Summary: A Visible Formula attribute in QueriesA Visible Formula attribute in Queries (patch)

comment:2 by stippi, 15 years ago

Nice patch. Just a question - is there a reason why the type entry is duplicated at the end?

comment:3 by humdinger, 15 years ago

As usual, I barely know what I'm doing. :)
I just did what I saw in text/x-email, where there are also two type statements.

If you do make the above changes, also apply them to query-templates, please.

comment:4 by stippi, 15 years ago

Resolution: fixed
Status: newclosed

Applied in hrev35511. Thanks and sorry it took so long.

Note: See TracTickets for help on using tickets.