Hi Everyone.
I have a question, I Have Order Table with Signature Box, In this Table you can choose Receivers Name from Customer Table . My few Customers has Saved Signatures , but also a few dont want to store they signature , they always want to undersign everytime, meanwhile someone want to Autofill they Signature from the Saved Signatures when you choose they name on the Drop down Receivers Customer List. I tried few Lookup Expression, get back Saved Signature , but some reason couldnt add manually , this is the expression :
IF(ISNOTBLANK([ĂtvevĆ Neve]),
IF(
LOOKUP([ĂtvevĆ Neve],âMegrendelĆkâ,âMegrendelĆ NĂ©vâ,âAlĂĄĂrĂĄsâ)<>ââ,LOOKUP([ĂtvevĆ Neve],âMegrendelĆkâ,âMegrendelĆ NĂ©vâ,âAlĂĄĂrĂĄsâ),IF(LOOKUP([ĂtvevĆ Neve],âMegrendelĆkâ,âMegrendelĆ NĂ©vâ,âAlĂĄĂrĂĄsâ)=ââ,âUndersignâ,ââ)),âManual Inputâ
The Language is Hungarian âĂtvevĆ Neveâ=Receivers Name, âMegrendelĆkâ=Customers , "MegrendelĆ NĂ©v "=Customers Name, âAlĂĄĂrĂĄsâ=Signature , so if you pick Receivers Name actually you see Customer Name list .
How could i modify this Expression, to able to add manually signature if is not saved ?
Sorry I might not understand exactly your scenario - the Hungarian is a challenge to my thinking. However, you should be able to follow these steps:
First, how do you indicate what customers have opted the âautofillâ option?
- Do you have their signature saved on the customer table?
- Do you have a column on the customer table that indicates their option (i.e. âAutofillâ, âUndersignâ)
For either way, you need to put your expression in the initial value column. For example, either:
- [Customer].[Signature]
- IF([Customer].[Status]=âAutofillâ,LOOKUP([Customer],âOrdersâ,âCustomerâ,âSignatureâ))
You can then set the editable_if column to either:
- ISBLANK([customer].[signature])
- [customer].[status]<>âAutofillâ
Hi thank you very much your help im really appreciate that, sorry for a belated answer, we organising a Courier Company small, today afternoon if I have I will check your suggestions. Then im writing, im sure I will have question about IT. Thanks again,have a nice day
Hi Iâve tried the version 1. Cause in my Order Table , i have âSignatureâ Column and âCustomer Nameâ who received the package , letter. Also my Customer Table , have âCustomerâ and âSaved Signatureâ , in this case , which one have to writing to Initial Value ?
And what i need to write Editable IF column ?
Cause some reason doesnt wprk what you wrote down.
Thanks so much.
In the [signature] column on your Order table, for the initial value you can put [Customer Name].[Saved Signature] assuming that [Customer Name] is a reference to the Customer table. Then for the Editable_if, you can put ISBLANK([[Customer Name].[Saved Signature]])
Let me know if you have questions,
Thats clear, but unfortunately , i dont have Reference between , Order and Custom Name Table, just Order Table and Companies Table . In this case i have to make REF Column, which is pointing Customer Table , how can i call this column ? I have Contact ID row in my Customer Table .
Also i use Enum list for choose the Receiver Name where this is the expression: MegrendelĆk[MegrendelĆ NĂ©v]
This means : MegrendelĆk= Customer Table MegrendelĆ NĂ©v= Customer Name
Thank you very much your help. Im really appreciate that .
Kindly regards: Krisztian
You can use a LOOKUP() function in that case:
LOOKUP([_thisRow].[Customer Name],âCustomer Tableâ,âCustomerâ,âSignatureâ)
but this assumes there are no duplicate customer names.
I would just set my [Customer Name] column on the orders table to a reference to the âCustomers Tableâ.
1 Like
Thanks so much Half Successfull , Cause if the Customer Has âSaved Signatureâ autofill the Signature Box, but if doesnt, dont comes up the Signature Box at all, i dont have a chance to ask my Customer to Undersign somewhere . How could i fix this ?
Even with this formula is the initial value it doesnât show when the customers [Saved Signature] in blank? It should not work like that, but it that is the case you will probably just have to use a workaround, such as:
- Create a virtual column [Customer Signature] with an expression like if(ISNOTBLANK([Signature]),[Signature],LOOKUP([_thisRow].[Customer Name],âCustomer Tableâ,âCustomerâ,âSignatureâ))
- For [Customer Signature] add a show_if ISNOTBLANK([_this])
- Remove the former expression from your [signature] column
- In the [signature] column add a show_if expression AND(ISBLANK(LOOKUP([_thisRow].[Customer Name],âCustomer Tableâ,âCustomerâ,âSignatureâ)),ISBLANK([_this])
- Add both columns to your form view
- In theory, the [signature] column will only show if the [saved signature] column is empty, at that point the customer can sign, which will then hide the [signature] column and display the virtual [customer signature] column with the signature.
Not sure if this will work, it is the best I can think of without seeing your data. Fingers crossed!
Thank you so much, i will try tonight or max tomorrow night, im really appreciate your massive help. And yes keep fingers crossed !!!
Hi, iâve tried to writing in my Order Table what you wrote back, and i have an error message when i wrote this: ISNOTBLANK([_this]) Next to the Show_If
This is the error: Unable to find column â_thisâ, did you mean âDĂĄtumâ?
Finally what i wrote last time, thats worked somehow, but now this one doesnt work :
AND(ISBLANK(LOOKUP([_thisRow].[Customer Name],âCustomer Tableâ,âCustomerâ,âSignatureâ)),ISBLANK([_this])
and this is the message : was unable to be parsed: Number of opened and closed parentheses does not match.
So almost there . Thanks so much again.
AND(ISBLANK(LOOKUP([_thisRow].[Customer Name],âCustomer Tableâ,âCustomerâ,âSignatureâ)),ISBLANK([_this]))
Thank you so much, now it works fine, only problem is, just a little one, the Signature Box behaving is strange , cause if you start to undersign , then you stop and would like to continue you couldnt do that , any idea , whats generating this ? (This didnt happend before )
Anyway , thank so much your help, your time. Also need to making another Column in the PDF but thats what i expected . Have a nice day .
Check the editable_if expression. If you still have one, you should be able to get rid of is=t since you are hiding the column.
If you donât have one, it might be something to do with the show_if since the field is no longer blank once you start signing. In that case you would have to write an expression to continually show the column for undersign
Hi.
After the Signature this my Editable_if expression : AND(ISBLANK(LOOKUP([_thisRow].[ĂtvevĆ Neve],âMegrendelĆkâ,âMegrendelĆ NĂ©vâ,âTĂĄrolt AlĂĄĂrĂĄsâ)),ISBLANK([_this]))
And i dont have any expresson here just this.
After Saved Signature (Virtual Column ) this is the expression:
if(ISNOTBLANK([AlĂĄĂrĂĄs]),[AlĂĄĂrĂĄs],LOOKUP([_thisROW].[ĂtvevĆ Neve],âMegrendelĆkâ,âMegrendelĆ NĂ©vâ,âTĂĄrolt AlĂĄĂrĂĄsâ))
And this is Editable_if expression:
ISNOTBLANK([_this])
What i need to write and where?
Remove the editable_if expression : AND(ISBLANK(LOOKUP([_thisRow].[ĂtvevĆ Neve],âMegrendelĆkâ,âMegrendelĆ NĂ©vâ,âTĂĄrolt AlĂĄĂrĂĄsâ)),ISBLANK([_this]))
Iâve done and now the Signature is back to normal, but unfortunately doesnt work the autofill things , if if i choose someone whos get saved signature , not autofill anymore. I made a mistake somewhere .
Hi again, sorry for the message before, so now its still work but if I have saved signature, comes up the Saved signature and also I could undersign Ăn the box. I think I shoukd have modify the Show if expression?
In the editable_If try ISBLANK(LOOKUP([_thisRow].[ĂtvevĆ Neve],âMegrendelĆkâ,âMegrendelĆ NĂ©vâ,âTĂĄrolt AlĂĄĂrĂĄsâ))