You are viewing limited content. For full access, please sign in.

Question

Question

substitute from a look up table

asked on November 12, 2019

Hi all,

In my form, I'm using a lookup table to load informations.

In my Database, the field "price" is a string (don't ask me why) e.g : "23 627" (with espace between 23 and 627).

 

In my Form, the field "price" is a number.

So when I'm loading the information, I get an error because of type.

 

 

My question is : how can I delete the espace to get a number ?

E.G : "23 627" to "23627"

 

I tried the fonction SUBSTITUTE but it doesn't wokr.

=SUBSTITUTE(PU.HT," ","")

0 0

Answer

SELECTED ANSWER
replied on November 12, 2019

I believe you would need to target the lookup at a separate single line field, then use calculations in the actual field to pull the "sanitized" value.

A calculation cannot act on its own field because that creates a circular reference.

1 0

Replies

replied on November 13, 2019

Thanks Jason,

This is what I did and it's working now.

Regards

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.