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 August 16th, 2007, 02:47 PM
Authorized User
 
Join Date: Dec 2006
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default Implements keyword ?

Hi,

I'm trying to use the Implements keyword from within an object class module (form).

Here's the testing context.

Access 2000 mdb file.
1 class module called clsTemplate
1 Property Get called SayHello, that returns "Hello World"

1 form having an object class module
syntax:
Implements clsTemplate

Same Property Get implemented at the form level, same name same code.

I'm getting an error as if I had forgotten to implement this (one and only) property.

Any idea?

Thanks
Charles

 
Old August 19th, 2007, 10:47 AM
Authorized User
 
Join Date: Dec 2006
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Found my answer

Public Properties or methods stored as a framework in a class must not contain any underscore "_" char in their name.






Similar Threads
Thread Thread Starter Forum Replies Last Post
The "New" Keyword rfarmer VB Components 1 August 16th, 2006 12:18 PM
MyBase Keyword Little Shell VB.NET 2002/2003 Basics 2 May 2nd, 2005 05:18 PM
keyword doesn't appear with result gilgalbiblewheel Classic ASP Databases 2 January 11th, 2005 12:45 AM
this keyword RSteel C# 1 December 18th, 2003 04:33 AM





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