473,761 Members | 4,082 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Are Access Forms Polymorphic?

In response to different users or situations (data context) I
transform the appearance and characteristics of Access Forms through
code. This seems to fit in with the idea of polymorphism. Do people
consider Access Forms to be Polymorphic?

James A. Fortune
Nov 12 '05 #1
7 2077
James Fortune wrote:
In response to different users or situations (data context) I
transform the appearance and characteristics of Access Forms through
code. This seems to fit in with the idea of polymorphism. Do people
consider Access Forms to be Polymorphic?

James A. Fortune


They can morph yes, but then so can just about anything that has a
programming language behind it.

--
Error reading sig - A)bort R)etry I)nfluence with large hammer
Nov 12 '05 #2

"James Fortune" wrote
In response to different users or
situations (data context) I
transform the appearance and
characteristics of Access Forms
through code. This seems to fit in
with the idea of polymorphism. Do
people consider Access Forms to
be Polymorphic?


Hmm. From your description, perhaps "Polychroma tic" would be a better
description. However, somehow I don't think that is what is meant by
"polymorphi sm".

Larry Linson
Microsoft Access MVP
Nov 12 '05 #3
"Larry Linson" <bo*****@localh ost.not> wrote in news:IdFjc.9191 3$L31.20613
@nwrddc01.gnili nk.net:
Hmm. From your description, perhaps "Polychroma tic" would be a better
description. However, somehow I don't think that is what is meant by
"polymorphi sm".


Polymorphism means Muchly Dead. In the Access world the term refers to DAO!

--
Lyle
(for e-mail refer to http://ffdba.com/contacts.htm)
Nov 12 '05 #4
"Lyle Fairfield" wrote
Hmm. From your description, perhaps
"Polychroma tic" would be a better
description. However, somehow I don't
think that is what is meant by
"polymorphi sm".


Polymorphism means Muchly Dead. In the
Access world the term refers to DAO!


Ah, and sad that would be, if true, for anyone wantin' to use Jet to store a
little data.
Nov 12 '05 #5
"In object-oriented programming, the term is used to describe a variable
that may refer to objects whose class is not known at compile time and which
respond at run time according to the actual class of the object to which
they refer. " (http://wombat.doc.ic.ac.uk/foldoc/fo...gi?polymorphic)

Variables of type Access.Form are polymorphic: They may refer to any form
class, and respond at run-time according the actual class of the object to
which they refer. Variables of type Object are even more polymorphic: they
can refer to any object class.

The word polymorphic is derived from the idea 'many structures'. An Access
form can change structures: it may be in Form or Datasheet mode, so it is
polymorphic (bimorphic???) in a general sense. But since it is an Object,
not a Variable or Function, it would not, in it self, mean that Access or
VBA 'supported polymorphism'.

Changing the appearance and characteristics of an object is not the same as
changing the structure, so it would not generally be called polymorphism. In
fantasy terms, Shape-changing or death is morphing: changing the appearance
and characteristics is just Glamour.

(david)

"James Fortune" <ja******@oakla nd.edu> wrote in message
news:a6******** *************** ***@posting.goo gle.com...
In response to different users or situations (data context) I
transform the appearance and characteristics of Access Forms through
code. This seems to fit in with the idea of polymorphism. Do people
consider Access Forms to be Polymorphic?

James A. Fortune

Nov 12 '05 #6
On Wed, 28 Apr 2004 14:02:42 +1000, "david epsom dot com dot au"
<david@epsomdot comdotau> wrote:

You call an Access form "bi" ! You want a piece of me?

-Tom.
"In object-oriented programming, the term is used to describe a variable
that may refer to objects whose class is not known at compile time and which
respond at run time according to the actual class of the object to which
they refer. " (http://wombat.doc.ic.ac.uk/foldoc/fo...gi?polymorphic)

Variables of type Access.Form are polymorphic: They may refer to any form
class, and respond at run-time according the actual class of the object to
which they refer. Variables of type Object are even more polymorphic: they
can refer to any object class.

The word polymorphic is derived from the idea 'many structures'. An Access
form can change structures: it may be in Form or Datasheet mode, so it is
polymorphic (bimorphic???) in a general sense. But since it is an Object,
not a Variable or Function, it would not, in it self, mean that Access or
VBA 'supported polymorphism'.

Changing the appearance and characteristics of an object is not the same as
changing the structure, so it would not generally be called polymorphism. In
fantasy terms, Shape-changing or death is morphing: changing the appearance
and characteristics is just Glamour.

(david)

"James Fortune" <ja******@oakla nd.edu> wrote in message
news:a6******* *************** ****@posting.go ogle.com...
In response to different users or situations (data context) I
transform the appearance and characteristics of Access Forms through
code. This seems to fit in with the idea of polymorphism. Do people
consider Access Forms to be Polymorphic?

James A. Fortune


Nov 12 '05 #7
Tom van Stiphout wrote:
On Wed, 28 Apr 2004 14:02:42 +1000, "david epsom dot com dot au"
<david@epsomdot comdotau> wrote:

You call an Access form "bi" ! You want a piece of me?


Oi, this Dowe Egbert's coffee is expensive, stop trying to make me lose
it on my keyboard :-)

--
Error reading sig - A)bort R)etry I)nfluence with large hammer
Nov 12 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
27485
by: Maurice Termeer | last post by:
Hi, suppose i've got this: class a { public: int n; }; class b : public a { public: };
3
12263
by: Mario | last post by:
Hello, I couldn't find a solution to the following problem (tried google and dejanews), maybe I'm using the wrong keywords? Is there a way to open a file (a linux fifo pipe actually) in nonblocking mode in c++? I did something ugly like --- c/c++ mixture --- mkfifo( "testpipe", 777);
20
2227
by: verec | last post by:
One problem I've come accross in designing a specific version of auto_ptr is that I have to disntiguish between "polymorphic" arguments and "plain" ones, because the template has to, internally, cast to void *. Specifically, template <typename T> void f(T * t) { void * p = dynamic_cast<void *>(t) ; } will not compile if T isn't of a class that has somewhere at least
1
2260
by: verec | last post by:
Last week I asked here how I could detect that a T was polymorphic, and received very thoughtful and useful replies that I used straight away. Thanks to all who answered. This week, it turns out that detecting whether T is polymorphic clashes with a new requirement, that T be allowed to not be complete. Last week, this code used to compile:
7
3914
by: Mr. Ed | last post by:
I have a base class which has about 150 derived classes. Most of the derived classes are very similar, and many don't change the base class at all. All the derived classes have a unique factory method which returns a new object of the derived type. The problem I've got is that I now need to polymorphically clone a derived class object, but I don't want to write a separate 'clone' method for each of these 150 classes. Instead, I thought I...
7
1366
by: James Fortune | last post by:
In response to different users or situations (data context) I transform the appearance and characteristics of Access Forms through code. This seems to fit in with the idea of polymorphism. Do people consider Access Forms to be Polymorphic? James A. Fortune
5
1881
by: Laban | last post by:
Hi, I am new to C# & .NET. I have a class A which contains a protected member M that I would like to access. If I derive my own class B from A, I can access M from within the class, and also expose it via a property. The problem is that an instance of B cannot be used where an instance of A is expected (unsafe cast), so it does not solve my problem. Of course I can write a soution that does not need access to M, but I am trying to...
13
2844
by: dragoncoder | last post by:
Consider the following code #include <iostream> class Base { public: virtual void say() { std::cout << "Base" << std::endl; } }; class Derived: public base {
7
1621
by: Arindam | last post by:
#include <cstdio> struct Test { void bar() { foo(); } private: virtual void foo() { printf("Test\n"); }
0
9522
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10111
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9948
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9902
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7327
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5364
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3866
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3446
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2738
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.