Forums

Export Users Table -> No data cound be loaded or found

hangbill 01 Aug, 2017
Have a form with 1 button only -> Export Users to Excel.

In OnLoad, the dbRead is Multiread and it does find all users. The ModelID is Members.
In the OnSubmit event for xlsExport have set the Data Path to Members.

But when executing, the debugger returns
Array
(
[17] => Array
(
[XLS Export] => No data could be loaded or found, please check your action settings.
)
)


What am I doing wrong?
Thanks
GreyHead 02 Aug, 2017
Hi hangbill,

You need to have the DB Read and the CSV EXport in the same form Event. I'm probably put them both in the On Submit event.

Bob
hangbill 02 Aug, 2017
Yes, that's it. I had dbRead in the wrong event, thanks Greybeard.

Interesting though that I get an error with XLS Export, see pic.
Works fine with CSV Export
This topic is locked and no more replies can be posted.