This configuration file has four sections and each is identified by a keyword:
[connect default]
;If we want to disable unknown connect values, we set Access to NoAccess
Access=ReadOnly
[connect FmLib]
Access=ReadWrite
Connect="DSN=FmLib;UID=sa;PWD=;DATABASE=FmLib"
The following statement in the CML/LitCrit application sets the Connect property of RDS.DataControl:
RDS.Connect = "Data Source=FmLib"
The "FmLib" within the phrase "Data Source=FmLib" links to the [connect identifier] section in the FmLibMap.ini file and the words "Data Source=" must precede the [connect identifier] section name (FmLib).
[Logs]
Err='c:\temp\FmLibMap.log'
[userlist FmLib]
Administrator=ReadWrite
[sql default]
;If we want to disable unknown sql values, we set Sql to an invalid query.
Sql="INVALID QUERY"
The following table shows which ASP pages and components in the CML/LitCrit application use each query in FmLibMap.ini.
SQL query name | Parameters | Called from |
---|---|---|
TitleDetailShort | BibNo (bib#) | Critiques.asp |
TitleDetailLong | BibNo (bib#) | Details.asp |
DetailFromSearch | BibNo (bib#) | Search.asp |
SearchByAuthor | nAuthorNo (auth#) | Author.asp |
SearchBySubject | nSubjectNo (subj#) | Subject.asp |
AuthorDetail | BibNo (bib#) | Critiques.asp
Details.asp |
SubjectDetail | BibNo (bib#) | Details.asp |
ReviewList | BibNo (bib#) | Critiques.asp |
GetAppSetting | none | Critiques.cls in LitCritC.dll |