Tab Views Setup

Top  Previous  Next

 

The Tab Views in Campground Master are initially configured with all of the normal content views -- Rack, Arrivals, Departures, etc., and will include a Map and/or Query view if any maps or queries are set up.  You can change the configuration of these views through Maintenance / Advanced Customizations / Tab Views.  There are several reasons you might want to do this:

 

To change the operator access levels for viewing or printing each view.

To change the order, e.g. to make Map the first view so it's shown by default.

To rename them to something more to your liking

To make the names shorter to fit on a low-resolution screen

To remove views that you never use

To add multiple Query views showing specific queries by default

To customize what happens when double-clicking in the view

 

Note that changes to the tab view setup apply to all workstations.

 

 

Tab View Setup

 

The Tab View Setup dialog lists all of the tab views with their general information.  Tabs are shown here whether they're enabled or not.  If there's one that you don't plan to use, we recommend that you Edit it and uncheck "Enabled", rather than deleting it from the list.  This way it's easy to re-enable later.

 

The order of views in the list will be the order they're displayed in Campground Master (skipping disabled ones of course).  Note that any Map or Query views will only appear of one or more maps or queries are set up.

 

You can use the typical functions to add, edit, copy, move or delete tab views in the list.

 

Add the default tab views

 

This special function will add all of the default views to the list (which may result in duplicates).  The main purpose of this is if you make some changes and then want to get back the original settings.

 

Note that if you delete or disable all tab views, the Rack view will still be shown by default (the program can't function without any tab views).  If you re-enter Setup, it will prompt you to add all default views back in.  It will also add all views back in automatically when you re-start the program.

 

 

Adding or Editing Tab Views

 

When you Add or Edit a view (or double-click on it in the Tab View Setup list), a simple dialog will allow you to enter the name, type, access levels and notes.  You can also disable or re-enable it.  

 

Tab Name

 

The name you enter here will be used as the header (name) of the tab, and also for the heading if you print the view.  

 

Note that if you add tabs or change the names, you may not be able to see all of the tabs on the screen at once.  If this happens, a pair of right/left arrows will be shown on the right side, which you can use to scroll the tabs back and forth.  However it's usually better to get all of the tabs to fit on the screen.  You can do this by shortening the Names of the tabs -- you'll notice that the tabs must all be the same size, so it uses the largest of the tab names to determine the size of all tabs.

 

Likewise, if you have extra space and prefer to widen the tabs, you can use longer names or even put spaces on each side of the longest name to force the tabs wider.  You may already see this in the default "Payments Due" tab, if your screen is wide enough.  Remember that these settings are used on all computers, so you'll have to keep the lowest-resolution screen in mind.

 

 

Content Type

 

The Content type is a selection list of the standard tab view types.  The only special one is Query.  In this view, you have the option to select a specific query to show.  This essentially allows you to create a custom tab view using a query you've defined.  If you select a query here, then only that query will be shown with no option to change it on the tab view.  If you don't select a query, then the tab view will have a drop-down list where you can select a query.  Thus you can have some "fixed" query tab views that show reports you need most, and also have a standard "Query" tab that allows you to dynamically select any query you've created.

 

Note that only one enabled entry is allowed for each of the types, except Query.  There's no reason to add multiple Arrivals views, for instance, because they would be the same (they can't be set up with different options just because they're on different tabs).

 

Access Levels

 

You can select the operator access level required to view and print each tab view.

 

 

Double-click actions

 

These settings allow changing what happens when you double-click on a Reservation or a Site, specific to this Tab View.  This will override the default action specified in Program Options / Functions, This allows you to specify a different double-click action for each of the Tab Views, so for instance you can have it do Check In on the Arrivals tab, Check Out on the Departures tab, Assign Site on the Unassigned tab, and open Transactions on the Transactions tab..  You can select one of the common functions listed, or you can enter a custom Expression (e.g. to run a custom script), allowing infinite flexibility.   When "Execute Expression" is selected, click on the text box to the right of the drop-down list to edit the expression.

 

On a Reservation -- Select an action for double-clicking on Reservations, e.g. the customer's name/label on the Rack, an occupied site on the Map, or any cell related to a Reservation on other tab views (except the Site name or Type). For the Transactions tab view, this includes any transaction field that is linked to a Reservation.

 

On a Site -- Select an action for double-clicking on a Site, e.g. the Site's Abbreviation or Type on the Rack, or the site's Name or Type on one of the other list-type tab views.  On the Rack and Map, double-clicking on an available site/date will always open "New Reservation", however the action selected here will be used if the site is Unavailable for the date.  On the Transaction tab in detail view, this action will be used if the transaction does not belong to a Reservation (which of course means it has no Site either, so if showing Site quick-info that will be empty as well).

 

 

Override default Quick-Info window text

 

If you still want double-click to open a "Quick-Info" window, but want different or additional information to show in the window, you can use these settings to do that.  This also applies to the right-click menu functions "Reservation Quick-Info" and "Site Quick-Info", regardless of the double-click action.

 

By default these expressions should be empty, which means it will use the normal Quick-Info window text. If you enter any expression, it will replace the normal text with the result of the expression (which of course must be a text result).  There are expressions that will let you get the normal default text, making it easy to still show the normal information but add additional info to it.  For example to add a custom field called Resv_User_Gate_Code to the bottom of the reservation Quick-Info (after a blank line and label), you would enter the expression:

 

ResvQuickInfoText(Resv(), ThisDate()) + "\n\nGate Code: " + Resv:Resv_User_Gate_Code

 

Reservations -- This expression replaces the Quick-Info text for Reservations.  Use the function ResvQuickInfoText(Resv(), ThisDate()) to get the default text for modification as shown above, on the given date (e.g the date selected on the Rack).  Note that this will include any Conflicting reservation information for the date specified (or you can use 0 for the date to exclude it).

 

Sites -- This expression replaces the Quick-Info text for Sites.  Use the function SiteQuickInfoText(Site(), ThisDate()) to get the default text for the site on the given date (e.g the date selected on the Rack).  Note that this may include a note that the site is Unavailable for the date specified if applicable (or you can use 0 for the date to exclude it).

 

Note that the Quick-Info expressions are set separately for each tab, and there is no global setting as there is for the double-click actions.  Therefore you would need to copy your expression to each Tab View definition to make it show the same on each Tab View.

 

 

Override default mouse-over tip text

 

You can specify special information to appear as the "Tip Text" when you hold the mouse over the reservation on the Rack and Map (or the customer's name on other tab views), and also for sites.  By default these expressions should be empty, which means it will use the normal Tip Text. If you enter any expression, it will replace the normal text with the result of the expression (which of course must be a text result).  There are expressions that will let you get the normal default text, making it easy to still show the normal information but add additional info to it.  For example to add a customer's phone number to the reservation Tip Text in parenthesis, you would enter the expression:

 

ResvTipText(Resv()) + "  " + Cust:Cust_Phone_1

 

Reservations -- This expression replaces the Tip Text for Reservations.  Use the function ResvTipText(Resv()) to get the default text for modification as shown above.  This normally includes either the Label field for the reservation or the customer's Last name and First Name, possibly with additional information like "+ 1 Guest" or "[Group]".

 

Sites -- This expression replaces the Tip Text for Sites.  Use the function SiteTipText(Site()) to get the default text for the site.  This is normally the Description field of the site (or Name field if the description is empty).

 

Note that the Tip Text expressions are set separately for each tab, and there is no global setting.  Therefore you would need to copy your expression to each Tab View definition to make it show the same on each Tab View.

 

 

 

Additional Topics:

 

Queries

 

Advanced Customizations Overview & other topics

 

 

 

 


Page URL https://CampgroundMaster.com/help/customizetabviews.html

Campground Master Home