-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
6 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,7 @@ | ||
/********************************************************************* | ||
* Copyright (C) 2000 by Progress Software Corporation. All rights * | ||
* reserved. Prior versions of this work may contain portions * | ||
* contributed by participants of Possenet. * | ||
* * | ||
*********************************************************************/ | ||
/*---------------------------------------------------------------------------- | ||
/* formatterSettingsOverride */ | ||
/* { "AblFormatter.forFormatting": true}*/ | ||
|
||
File: dbname.i | ||
Description: | ||
Include file for _chkfld.p and _mapfld.p which gets the appropriate | ||
db-name value for local and foreign databases. | ||
Author: Nancy E.Horn | ||
Date Created: Mar. 1997 | ||
---------------------------------------------------------------------------- */ | ||
FUNCTION get-dbname RETURNS CHARACTER (dbrecid AS RECID): | ||
FIND FIRST DICTDB._db NO-LOCK WHERE RECID(DICTDB._db) eq dbrecid NO-ERROR. | ||
IF AVAILABLE(DICTDB._db) AND (DICTDB._db._db-name ne ?) THEN | ||
RETURN DICTDB._db._db-name. | ||
ELSE | ||
RETURN LDBNAME("DICTDB"). | ||
END FUNCTION. | ||
|
||
/* End Function Definitions */ | ||
FOR FIRST Customer NO-LOCK | ||
BY Customer.CreditLimit: | ||
DISPLAY Customer. | ||
END. |