Options

Can you change subtype of a record variable

ResenderResender Member Posts: 119
edited 2011-10-21 in Navision Attain
Hello I'm quite new at Navision, using Navision 3.6 atm.

One of our databases has started to show unexpected error messages.
A lookup on these found out that either
*The database or a portion was corrupted
*A function is running infinite loops
*The database has almost used up its free space

We found out that the database is currently at 89%, we want to lower that.
I was given the task to find out the precise amount of records in a list of tables that predates the year 2011.

I have written a codeunit to do just that but I wonder if its possible to change the subtype of the record, so that I don't have to change it every time
in the locals.

Thank you for reading and possible answers

Answers

  • Options
    Troubles_In_ParadiseTroubles_In_Paradise Member Posts: 588
    Resender wrote:
    Hello I'm quite new at Navision, using Navision 3.6 atm.

    One of our databases has started to show unexpected error messages.
    A lookup on these found out that either
    *The database or a portion was corrupted
    *A function is running infinite loops
    *The database has almost used up its free space

    We found out that the database is currently at 89%, we want to lower that.
    I was given the task to find out the precise amount of records in a list of tables that predates the year 2011.

    I have written a codeunit to do just that but I wonder if its possible to change the subtype of the record, so that I don't have to change it every time
    in the locals.

    Thank you for reading and possible answers

    Maybe the RecordRef variable could help you... Take a look to the online help.
    ~Rik~
    It works as expected... More or Less...
  • Options
    ResenderResender Member Posts: 119
    Thank you
  • Options
    Troubles_In_ParadiseTroubles_In_Paradise Member Posts: 588
    Resender wrote:
    Thank you
    :thumbsup: welcome.
    ~Rik~
    It works as expected... More or Less...
  • Options
    garrett48garrett48 Member Posts: 4
    hey thanks for the information..the detailed information is really useful and was in actual searching for this..;)
Sign In or Register to comment.