Results 1 to 7 of 7

Thread: CodeDescription()-error

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2009
    Location
    Colombia
    Posts
    2,509

    Default CodeDescription()-error

    hI ALL

    This sending this S.O.S. As a last resort.

    I don't know why the error appears in the function, I have already reviewed:
    1) Reindexed CODEMAST / CODETYPE
    2) I checked DF_COLLATE_CFG


    FUNCTION:

    return CodeDescription({?RutaData}+""+"CODEMAST.DAT","TRI BUTOS",{Fservicp.TipoImpto})



    Edgar
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	ERROR.png 
Views:	91 
Size:	3.7 KB 
ID:	13389  

  2. #2
    Join Date
    Feb 2009
    Location
    Hengelo, Netherlands
    Posts
    10,869

    Default Re: CodeDescription()-error

    Edgar,

    The error has nothing to do with DF_COLLATE.CFG, possibily corrupted indexes.

    It is inside the function. It could be the RutaData parameter that does not exist but more likely your system cannot find the CodeDesription function. This function is present in codemast.dll and the reference is stored in dr.db. So check if the DLL is there and if the dr.db is the correct one.
    Regards,
    Data Access Worldwide
    Vincent Oorsprong

  3. #3
    Join Date
    Feb 2009
    Location
    Queens, NY, NY
    Posts
    7,429

    Default Re: CodeDescription()-error

    Vincent,

    Is there a paper / blog post / help entry on DR.DB?

    I have questions.

    Should I only have one DR.DB, or should I have one for each DF Project?

    What defines when I need to update dr.db at a client site when I'm distributing reports?

    Does the structure of DR.DB change over time with different versions of DR?

    What kind of things does it store that are accessed at runtime?

    How do I detect a mismatch between the DR.DB and the report set?
    Michael Mullan.
    Danes Bridge Enterprises.

    ++++++++++++++++++++++++++++
    There is just today. Tomorrow is a concept
    that is mostly theoretical. -- GM Wylie
    ++++++++++++++++++++++++++++

  4. #4
    Join Date
    Feb 2009
    Location
    Hengelo, Netherlands
    Posts
    10,869

    Default Re: CodeDescription()-error

    Michael,

    There is no paper or blog post.

    The help says:
    dr.db is a SQLite database in which the repositories, label definitions and imported ELF functions are stored. The file needs to be placed at a location to which you have write access. The file is located in the following ways:

    - Sub folder of ProgramData; in Windows Vista or later the exact folder is C:\ProgramData\Data Access Worldwide\DataFlex Reports\7.0\Data
    - Directory of the DataFlex Reports OCX

    The internal format changed with v5 to be able to store labels. Changing the structure in the future is always possible but only when needed.

    DataFlex Reports is not workspace or DataFlex project bound so there is only one DR.DB file.

    DR.DB is also needed to be able to create temporary SQL tables for RDS but the format and/or content does not matter.
    Regards,
    Data Access Worldwide
    Vincent Oorsprong

  5. #5
    Join Date
    Feb 2009
    Location
    Colombia
    Posts
    2,509

    Default Re: CodeDescription()-error

    Hi vincent


    In deployment where to locate the DR.DB? in programs? taken from programData?

    Edgar

  6. #6
    Join Date
    Feb 2009
    Location
    Queens, NY, NY
    Posts
    7,429

    Default Re: CodeDescription()-error

    in programs.

    Users may have DIFFERENT appdata folders.
    Michael Mullan.
    Danes Bridge Enterprises.

    ++++++++++++++++++++++++++++
    There is just today. Tomorrow is a concept
    that is mostly theoretical. -- GM Wylie
    ++++++++++++++++++++++++++++

  7. #7
    Join Date
    Feb 2009
    Location
    Queens, NY, NY
    Posts
    7,429

    Default Re: CodeDescription()-error

    Thanks

    MM
    Michael Mullan.
    Danes Bridge Enterprises.

    ++++++++++++++++++++++++++++
    There is just today. Tomorrow is a concept
    that is mostly theoretical. -- GM Wylie
    ++++++++++++++++++++++++++++

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •