Right( ) cannot successfully work.

I have 2 tables and also I set the usersetting(language)  and can choose English or Japanese.

When I choose one of these languages, column name , VC, enum, enumlist are automatically translate English or Japanese by setting switch() formula.

In case of enum,  the value I set are English word and Japanese one.

see below table 1( 患者追跡table). 

TShigenori_6-1657237104722.png

 

 

 

TShigenori_4-1657230785182.pngTShigenori_5-1657230825845.png

 

 

 

 

 

 

And at the other table, I set the VC formulating select(患者追跡[搬送ステータス],
[認番ID]=[_thisrow].[ID].

and then, I set the the another VC formulating RIGHT(text([搬送ステータス]),4).

When I selected Japanese at the usersettings, the above right()formula can work.

However when I selected English, the above right()formula cannot work successfully.

 

TShigenori_16-1657238465373.png

 

TShigenori_8-1657238023464.pngTShigenori_9-1657238067171.png

 

TShigenori_10-1657238133928.pngTShigenori_11-1657238166826.png

 

TShigenori_13-1657238294135.pngTShigenori_14-1657238335798.png

TShigenori_17-1657238619144.png

As you can see the last image, "Done" cannot be returned.

Does anyone know why this situation happen?

Or could you tell me how to solve the problem?

Solved Solved
0 2 82
1 ACCEPTED SOLUTION

Even though I suspect there might be a better way to implement your requirement, you can try the following without changing what you have configured so far.

Since [搬送ステータス] is a list, if you want to get the "last element" you can try

INDEX(
 [搬送ステータス],
 COUNT(
  [搬送ステータス]
 )
)

 as the App Formula of [配送の状況].

View solution in original post

2 REPLIES 2

Even though I suspect there might be a better way to implement your requirement, you can try the following without changing what you have configured so far.

Since [搬送ステータス] is a list, if you want to get the "last element" you can try

INDEX(
 [搬送ステータス],
 COUNT(
  [搬送ステータス]
 )
)

 as the App Formula of [配送の状況].

Thank you very much!!

Top Labels in this Space