DoCmd.OpenReport "Report Name"
while writing c# web app i need make button click event , need use docmd.openreport "reportname" nd have done search not having luck any welcome
what need reference need ass system.
thank much
code have tried far is
protected void button1_click(object sender, eventargs e){
docmd.openreport "report name", , acviewpreview
}
vijay patel
this isn't going work.
your code:
docmd.openreport "report name", , acviewpreviewlooks me ms access:
https://msdn.microsoft.com/en-us/library/office/ff192676.aspx?f=255&mspperror=-2147217396
for work need running ms access.
either sdk distributable or full version.
that on client.
you're trying use ms access code in c# - isn't going work.
and
your code running on server.
even if used ms access via interop print preview report on server rather client.
workable options include:
disctribute access clients , connect central database this. involve them running desktop app.
or
give them other report ms reports and show in asp.net reportviewer.
Visual Studio Languages , .NET Framework > Visual C#
Comments
Post a Comment