Consultor Eletrônico



Kbase 16078: Using Results reports with a different database
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/05/1998
Using Results reports with a different database

How can I use a tty Results report when I am connecting to a different
database than the one connected to when the report was created?

Version 7: When connecting to the new database, specify a logical
database name as the name of the original database.

Example - If a report was created while connected to sports and you
are now starting Results and connecting to Newsport.db :
results Newsport -ld sports


Version 6: More steps are required in version 6 because the .qc file
uses the physical database name rather than the logical.

1) Do an initial build while connected the new database (Newsport) so
a .qc file is created.

2) Exit Results. Edit the new database .qc file. Change the line
which reads database1="Newsport" "PROGRESS" ######### to
database1="sports" "PROGRESS" #########

3) If the new database is not an exact copy of the original, you will
also have to change the checksum number to that of your original
database. The checksum number is the number following "PROGRESS"
in the above example. See Kbase #15196 (Changing the checksum
value in Results .QC/.QC7 file) for a code example to determine
the checksum number for a connected database.

4) Connect to the new database specifying a logical database name as
the name of the original database. (same as Version 7 example).

Progress Software Technical Support Note # 16078