Jumat, 15 Juli 2011

RE: [MS_AccessPros] Access Class Module Example

 

Abdul-

If you have code behind your forms and reports, you use Class modules all the
time!

I think I posted this earlier, but one of the most common uses of a Class module
outside forms and reports is to encapsulate a complex call to an external
procedure. I often use a Class module as a wrapper around a call to the Windows
Open File Dialog API. Values that I want to pass to the API are Properties of
the Class module, so I establish a loaded copy of the class, set its properties,
then call a Method of the class to do the actual call to Windows. The code in
the Method picks up the pre-set properties and passes them to Windows in the
call. The return from the Method gives back the path and file name selected.

John Viescas, author
Microsoft Office Access 2010 Inside Out
Microsoft Office Access 2007 Inside Out
Building Microsoft Access Applications
Microsoft Office Access 2003 Inside Out
SQL Queries for Mere Mortals
http://www.viescas.com/
(Paris, France)

-----Original Message-----
From: MS_Access_Professionals@yahoogroups.com
[mailto:MS_Access_Professionals@yahoogroups.com] On Behalf Of Abdul Shakeel
Sent: Saturday, July 16, 2011 8:28 AM
To: MS_Access_Professionals@yahoogroups.com
Subject: [MS_AccessPros] Access Class Module Example

Hello,

Can any one tell me about any real world example of MS Access Class Module, I
have read about Access Class a lot but still unable to use them in my databases,
can anyone help me..

 

Thanks & Regards,
--
Abdul Shakeel

[Non-text portions of this message have been removed]

------------------------------------

Yahoo! Groups Links

__._,_.___
Recent Activity:
.

__,_._,___

Tidak ada komentar:

Posting Komentar