This topic is locked

Urgent! Update multiple record in list view

10/10/2011 5:44:27 PM
ASPRunnerPro General questions
M
mac author

I'm trying to update multiple selected records using this example below, from manuals but it doesn't works.

I created a button in list page (not on the rows) and then added code below (the query is not the same but is ok to show).
Nothing append when i press the button!
Some one can help me?
[indent]
for each val in keys

strUpdate = "update Invoices set Status='Paid' where InvoiceID=" &val("ID")

CustomQuery(strUpdate)

next
[/indent]
michael

Sergey Kornilov admin 10/10/2011

michael,
you need to post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program. That's the only way to find why your code doesn't work.

M
mac author 10/10/2011

Tomorrow i'll post it on demo account. Do you see some error in my code?



michael,
you need to post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program. That's the only way to find why your code doesn't work.

Sergey Kornilov admin 10/10/2011

Your syntax looks correct however without knowing database structure it doesn't mean anything.

M
mac author 10/11/2011

Thanks,
I uploaded the test application on the demo site. Not works still.

I don't know what to do more.
thanks



Your syntax looks correct however without knowing database structure it doesn't mean anything.

Sergey Kornilov admin 10/11/2011

You have to contact support team providing Demo Account application URL as well as instructions on reproducing the issue.