Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

GoldMine DLL for Crystal Reports

Status
Not open for further replies.

richardy

IS-IT--Management
Oct 24, 2002
397
GB
This is a free DLL that allows you to access some encrypted values in GoldMine:

Download the free DLL from:


Place the Zip into the C:\Windows\Crystal Directory and unzip.

Functions available:

GMDateStringToSyncStamp(Datetime)
GMSyncStampToDateString(syncstamp)
GMCurrentAccountno - uses dde
GMCurrentUserName - uses dde
GMIsUserInGroup(User,Group)
GMUserGroupMembers(Group)



1. To get the date/time of a record from the RecID

DateTimeValue(GMSyncStampToDateString(Left({GoldMi ne_View.RECID}, 7)))

2. To bring back data for the active record (or user)

GMCurrentAccountNo = {CONTACT1.ACCOUNTNO}

GMCurrentUser = {CAL.USERID}

3. To test if a user is in a group

GMIsUserInGroup({CONTACT1.CREATEBY}, 'Group1')

or alternatively

InStr(GMUserGroupMembers('Agency'), {CONTACT1.CREATEBY} + ',') > 0

Regards,

Richard.
PRIOR Analytics UK
Winners of the LBA Customer Service Award.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top