473,406 Members | 2,867 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

changing a module into class module

Hi Gurus

I have a module with a bunch of functions that tell me everything about a
table (e.g. the number of children, whether it exists, the table
description, etc..., data-entry quality, etc...)

It would make sense to actually change this module into a class module,
because then, when I program, I can use the "autocomplete" function.

However, if I do so, then the functions would not work in queries and on
controls on forms, etc....

What would you suggest would be the best solution to
a. being able to use the autocomplete and other joys of classes

b. being able to use the individual functions in queries and controls.

TIA

- Nicolaas
Nov 13 '05 #1
2 1411
On Sun, 29 May 2005 15:51:20 +1200, "windandwaves"
<wi*********@coldmail.com> wrote:

You can use autocomplete by using:
<modulename>.
and intellisense will show the public procedures in that module.

-Tom.

Hi Gurus

I have a module with a bunch of functions that tell me everything about a
table (e.g. the number of children, whether it exists, the table
description, etc..., data-entry quality, etc...)

It would make sense to actually change this module into a class module,
because then, when I program, I can use the "autocomplete" function.

However, if I do so, then the functions would not work in queries and on
controls on forms, etc....

What would you suggest would be the best solution to
a. being able to use the autocomplete and other joys of classes

b. being able to use the individual functions in queries and controls.

TIA

- Nicolaas


Nov 13 '05 #2
Tom van Stiphout wrote:
On Sun, 29 May 2005 15:51:20 +1200, "windandwaves"
<wi*********@coldmail.com> wrote:

You can use autocomplete by using:
<modulename>.
and intellisense will show the public procedures in that module.

-Tom.

Thanks again, never used that before, but it works sweet....
Nov 13 '05 #3

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

Similar topics

7
by: John J. Lee | last post by:
I'm trying to change a base class of a big class hierarchy. The hierarchy in question is 4DOM (from PyXML). 4DOM has an FtNode class that defines __getattr__ and __setattr__ that I need to...
0
by: Matt Garman | last post by:
I'd like to write a class or module in python that allows me to do on-the-fly color changing in the curses module. I'm thinking about something along the lines of this: addstr(y, x, 'hello',...
5
by: dody suria wijaya | last post by:
I found this problem when trying to split a module into two. Here's an example: ============== #Module a (a.py): from b import * class Main: pass ============== ==============
2
by: Gopal | last post by:
Hi, I've a module report.py having a set of funtions to open/close/write data to a log file. I invoke these functions from another module script.py. Whenever I'm changing something in...
1
by: William H. Burling | last post by:
i have a nest of vb.vanilla collections. CollectionofHotelData.item("great Pequot").item("2000").item(22) The above works. I wrote the code that constructs the nested collections and i can...
7
by: Adam | last post by:
Hi all, In my VB.NET code below, I try to change the user name in my arraylist from Ted to Bob, but instead it adds a new user to the arraylist named Bob. Can anyone explain why this happens and...
2
by: John Dann | last post by:
In VB.Net I have a Form1 main form that instantiates various class objects. I want to change eg the title text of Form1 from within one or more of these classes. The solution kindly suggested...
10
by: Bonzol | last post by:
vb.net Hey there, could someone just tell me what the differnce is between classes and modules and when each one would be used compared to the other? Any help would be great Thanx in...
4
by: Mikael Olofsson | last post by:
Hi! This is in Python 2.3.4 under WinXP. I have a situation where I think changing the behaviour of a namespace would be very nice. The goal is to be able to run a python file from another in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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,...
0
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...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.