Typing Value Of 4th Column in each row in a database, onto website

Hi there,
I am trying to input the data on column 4 on each row into web pages, and when I assign a variable to get the string out UiPath throws out the following error:

Assign: Expression Activity type ‘VisualBasicValue`1’ requires compilation in order to run. Please ensure that the workflow has been compiled.

I have verified that my datatable indeed contains data, and the first row are headers.

How do I fix it? Thankss

Hi @Hou_Paang_Soul

Change the double quotes here check once.

Give this
CurrentRow("PN").ToString

I hope it works!!

1 Like

Hello @Hou_Paang_Soul

Can you show us the value which you are trying to assign

Usually this error occurs when there was an issue with double quotes. Can you retype the Double quotes.

1 Like

CurrentRow(“PN”).ToString, do you mean change it to single quotation?
Meaning: CurrentRow(‘PN’).ToString ? Thanks!

@Hou_Paang_Soul

Not single quotation, once remove whole string again give

Don’t change to single quotes, it should be double quotes only. Just remove and type it again

Incorrect : CurrentRow(“PN”).ToString

Correct : CurrentRow("PN").ToString

you can notice the difference in double quotes for above 2 lines.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.