Enter your search term and click the Search Now button!




Print This Post Print This Post

User – User Group Variables

July 15th, 2009

This is a new feature which was requested a lot by our customers.

Let the DBxtra user only see a set of data related to some variable.

Let’s suppose you want your end-user only see sales data from customers assigned to him.

Here is the query of the report.

image

For now the report shows records for all customers.

image

Let’s assign a user variable.

Double click  on the Criteria/Parameter field.

image

The Criteria Builder will open.

image

Click User-Variables.

image

Assign a name for the user variable to create.

Optionally click Multiple Values.

Select the user and click Show Values.

image

Select one or multiple values and click OK.

image

The variables are inserted.

Repeat the previous step for each user.

Once finished click Save and exit the window.

Now; on the Expression window select the user variable and double click it.

image

The user variable will be inserted.

Click OK to close the expression window.

The user variable criteria will be inserted into the query.

image

Now; let’s open the report again.

image

Now the report only shows records for customer assigned to the user who is logged in DBxtra.

You can also enhance the user variable by editing a query.

To do that click the Query button.

image

image

Now you can edit the variable query; add tables and views by right clicking into the query panel, assign aggregate functions and more.

Note!
We showed you user-variables but the same works for user group-variables.

You can maintain user and user group variables from the utilities menu.

image

Note!

This feature will be available in DBxtra version 4.1.1 to be released on July 17, 2009.

One Response to “User – User Group Variables”

  1. DBxtra - Report Software Blog» Blog Archive » DBxtra .NET ver. 4.1.1 Released Says:

    [...] Parameters – User – User Group Variables [...]

Leave a Reply