using Get on RecordID data type

MEMMEM Member Posts: 57
Hi

I'm using for the fisrt time the "RecordID" data type.

I'm facing some issue with this data type, I would like to make a get on this "RecordID :? " but the system give me an error message "Tabeldata 0 does not exist"

It would be cool to give me sone help on how tu use this function

Comments

  • krikikriki Member, Moderator Posts: 9,110
    I also thought once to need it, but I could do what I wanted to do in another way.

    So my questions are: Why do you need it? What do you want to do? If you explain this, we can point you in a direction on how to do it without RecordID.

    BTW: Take a normal record and then show me the RecordID to see how the structure is. But I think it is too dangerous to count on it.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • Yaroslav_GaponovYaroslav_Gaponov Member Posts: 158
    Hi

    I not sure but...
    I guess problem in RecordID language.

    Try to execute some code
    if evaluate(text,recordid) then
      message(text);
    
    Name table and fields in english or french or other language?

    try to execute other code
    refrec.open(database:sometable);
    if refrec.get then
      message(format(refrec.recordid));
    

    and now?
  • MEMMEM Member Posts: 57
    Hi

    I not sure but...
    I guess problem in RecordID language.

    Try to execute some code
    if evaluate(text,recordid) then
      message(text);
    
    Name table and fields in english or french or other language?

    try to execute other code
    refrec.open(database:sometable);
    if refrec.get then
      message(format(refrec.recordid));
    

    and now?

    the solution was
    refrec.open(database:sometable);
           RecordRef.GET(RecordID)
    

    it works good

    The object of the development is to synchronize (insert, modify and delete) in a dynamic way one table from one company ton one other on the same database
Sign In or Register to comment.