Wrox Programmer Forums
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 19th, 2004, 05:45 AM
Registered User
 
Join Date: Oct 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to rushikesh_mistry
Default Visual basic run time error.

When i am running my application at that time it will give me
vb Runtime error -2147467259(80004005).

I am creating a datareport using sql quary with groupby phase. I am calling report.refresh() method at that time it gives an error.
 
Old October 19th, 2004, 07:33 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,151
Thanks: 2
Thanked 14 Times in 14 Posts
Send a message via ICQ to SerranoG Send a message via AIM to SerranoG
Default

Whenever I get an error with that long of an error number, it means I mispelled something or referred to an object that doesn't exist.

Greg Serrano
Michigan Dept. of Environmental Quality, Air Quality Division
 
Old October 22nd, 2004, 07:05 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

VBA and reports are tricky sometimes. Is the report open when you use this method? You can open the report with vba and then invoke this method since the report is hidden unless you make it visible.


mmcdonal





Similar Threads
Thread Thread Starter Forum Replies Last Post
Error on Visual Basic 6 Install File with CR XI R2 jmss66 Crystal Reports 0 August 25th, 2008 10:41 AM
Visual Basic 6.0 - Application Error miqbal Pro VB 6 8 September 2nd, 2006 01:54 AM
Visual Basic Express 2005 SQL error thomas38 Reporting Services 0 February 16th, 2006 02:53 PM
Can i run A VB Script File From Visual Basic VB GURU VBScript 1 May 21st, 2004 01:42 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.