Hi,
I have issue to pass same variable to another screen with error. please help.
Screen1:
2 buttons:
1st button onSelect:
Navigate(
'Screen2',
ScreenTransition.Fade,
{
varCKno: ThisItem.'Closed Case No.'
}
)
2nd button onSelect:
Navigate(
'Screen3',
ScreenTransition.Fade,
{
varCKno: ThisItem.'Closed Case No.'
}
)
The error keep appear on my 2nd button "varCKno: ThisItem.'Closed Case No.'" any idea?
When I test run, I can click on the 1st button, but unable to click on 2nd button.
Hi @JacksonTeo ,
I guess you already have that variable in screen3 and it's data type doesn't match the value of column 'closed Case No.'.
Sample:
Could you check it?
Best Regards,
Wearsky
button 1 OnSelect
Button 2 OnSelect with error
screen for both button
The error message "Incompatible type. we can't evaluate your formula because the context variable types are incompatible with the types of values in other places in your app."
The "Closed Case No." is correct, you can see that I'm using the same code on 1st button, it works. 2nd button, I just change the screen name.
Thanks for your reply.
Hi @JacksonTeo ,
What's the error message?
I guess that there isn't a column called 'closed Case No.' in second screen.
Best Regards,
Wearsky
WarrenBelz
146,651
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,999
Most Valuable Professional