Solved input mask report and print

Akai90

Member
Local time
Today, 14:24
Joined
Feb 8, 2022
Messages
67
i have 2 value to show on single textbox if null

1. PsPortGuru
2. NoKP

i using query to combine 2 value if one of that null

my query is

Code:
compass: Nz([PsPortGuru];[NoKP])

on report i use "compass"

now my problem is for NoKP i want to show input mask
Code:
999999\-99\-9999;;_

by using this query
Code:
compass: Nz([PsPortGuru];[NoKP])

is there any way i can u input mask above for "NoKP" value only
no input mask if "PsPortGuru" value show

thanks hope understand
 
change "compass" in your query to:

compass: Nz([psportguru],Format([nokp],"999999-99-9999"))
 
Untitled.png

it show like this
 
ok, change it to:

compass: Nz([psportguru],Format([nokp],"@@@@@@-@@-@@@@"))
 

Users who are viewing this thread

Back
Top Bottom