 |
|
|
|
Price: $49.97
estimated conversion:
|
| |
|
|
|
|
Summary
| Registry Function is a collection of useful registry utilities for Crystal Reports administrators. This tool can extract a value from the Windows Registry. It can identify the Windows\Crystal function directory. It includes an Alert function to stop the report and raise a warning message, and then continue the report.
The Registry Function Library can retrieve values from the user registry. It can also retrieve the disk label and serial number. What our customers especially like is this UFL's Alert function, which you can use to stop your report to warn users of urgent conditions in the database. All of which can be incredibly useful.
|
Features
Registry Functions:
- GetRegCurrentUser(Key, Prop)
- GetRegLocalMachine(Key, Prop)
These functions will retrieve a value from the CurrentUser and LocalMachine hives of the Windows registry. If the Key or property is not valid the function will return a blank value.
Random Functions:
- GetRegRandomSeed(Seed)
- GetRegRandom
Crystal reports 8 added a random function to the formula editor, so these functions are here for users of earlier versions of Crystal Reports. The GetRegRandom should be calcuated WhileReadingRecords to get individual values for each record.
Disk Volume Functions:
- GetVolSerialNumber(Drive)
- GetVolLabel(Drive)
- GetVolInstallPath
These will retrieve the Serial number and volume label of the specified drive. GetVolInstallPath will retrieve where the User function library has been installed (Usually \Windows\Crystal or \WinNT\Crystal).
Alert Function:
- GetVolAlert(Message, Caption)
This will stop your report, and display a message (with the required caption) and then continue processing the report. If you accidentally specify a condition where an excessive number of alerts have been raised, you can cancel the messages. Size Functions:
- GetSizeFt(Value) value is in inches
- GetSizeHrs(Value) value is in minutes
- GetSizeMetric(Value) value is in 1/000 of the units
These functions convert a number into the appropriate formats and display the required units of measure. |
Uses
|
Solve problems with this UFL. Here's an example. A user posed the following problem:
Our Crystal Reports require Users to provide their USERID as a parameter for record selection. We would like to eliminate the requirement to enter the USERID from our reports by:
-
Adding a specific USERID to the Registry.
-
Using a user function to retrieve the specific USERID from the user Windows Registry.
Will your Registry User Function Library help with this?
Solution:
Yes, this can be done provided you use a subreport. The reason is that User Function Libraries (UFLs) are invoked once the report is processing data. Therefore, while we could retrieve the information you want in the Registry, it would be too late to use for the DB parameter in the main report.
The exception to this is if the parameter is requested in a subreport, as the main report will have processed the UFL prior to running the subreport.
Tip: Remember to ensure you retrieve at least one record in your main report (or else the subreport will not run).
| Compatible with Crystal Reports XI and can process all prior versions of Crystal Reports. |
|
Benefits
- Reduce unpleasant surprises related to the Registery.
- Tap the power of the Registry for a better Crystal Reports user experience.
|
|
Downloads
- No trial copy available.
- Need spending approval? Download this PDF
> and e-mail it to your boss.
|
Easy to Buy
- Bookmark this page, in case you have questions.
- Complete the license purchase.
- You will receive installation and licensing insructions via e-mail (allow time for personnel to process your order).
- We do not currently have a free trial of this product; If it does not do what you require, we will refund your purchase.
|
|
|
|