Solved input mask report and print (1 Viewer)

Akai90

Member
Local time
Today, 18:37
Joined
Feb 8, 2022
Messages
65
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
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 18:37
Joined
May 7, 2009
Messages
19,243
change "compass" in your query to:

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

Akai90

Member
Local time
Today, 18:37
Joined
Feb 8, 2022
Messages
65
Untitled.png

it show like this
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 18:37
Joined
May 7, 2009
Messages
19,243
ok, change it to:

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

Users who are viewing this thread

Top Bottom