0

I want labels displayed for two fields: [ID_Messpkt] and [Pb_corr], both numeric type I want to change the label for certain values of one of the fields: [Pb_corr]

I have two scipt that work individually but I don't know how to group it in one script. Does anyone know how to do that please?

Function FindLabel ( [ID_Messpkt], [Pb_corr] )
 FindLabel = [ID_Messpkt]& vbNewLine &[Pb_corr] 
 Function FindLabel ([Pb_corr] )
 if ([Pb_corr] = 49) then
 FindLabel = "<50"
 end if
 End Function

Found the easy solution, sorry


```
Function FindLabel ( [ID_Messpkt], [Pb_corr] )
 FindLabel = [ID_Messpkt]& vbNewLine &[Pb_corr] 
 if ([Pb_corr] = 49) then
 FindLabel = "<50"
 end if
 End Function
asked Jan 9, 2020 at 13:43
0

1 Answer 1

1

Solution:

Function FindLabel ( [ID_Messpkt], [Pb_corr] )
 FindLabel = [ID_Messpkt]& vbNewLine &[Pb_corr] 
 if ([Pb_corr] = 49) then
 FindLabel = "<50"
 end if
 End Function
answered Jan 9, 2020 at 14:17

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.