changecompany on recordref doesn't work on all PC's

GoMaDGoMaD Member Posts: 313
Got something strange here.

This piece of coding:
        CLEAR(RecRef);
        RecRef.OPEN(172,FALSE,precSynchList."Company Name");
        RecRef.GET(precSynchList."Table Key");
        RecRef.SETRECFILTER;

works fine on my machine.

I'm using a locally installed client to connect to a native navision server instance.

When I run the same code on another client that is on the computer of my colleague (same navision native server, same user id, same exe version), it gives me an error code that the record that i'm referencing to i the other company isn't available. It stops on the get. But when he uses his client to take a look in the table, the record is there.

Any idea's?

precSynchList."Table Key" is a field of the datatype RecordID.
precSynchList."Company Name" is a field of the datatype Text[30]

Thanks and regards,
Now, let's see what we can see.
...
Everybody on-line.
...
Looking good!

Answers

  • GoMaDGoMaD Member Posts: 313
    Solved it myself.

    It seems that the client on my colleagues computer wasn't a FULL install of the latest version of SP3. Some DLL of his installation was stil a 23305 version and it should have been a 24080 version.

    Regards,
    Now, let's see what we can see.
    ...
    Everybody on-line.
    ...
    Looking good!
Sign In or Register to comment.