Access 97 - global variables??
- From: "Mr B" <mrb_16@xxxxxxxxxxx>
- Date: 20 Jul 2006 12:33:17 -0700
Hi guys,
Urgent problems that I need to sort before Monday, I will be so
grateful for ANY help received! I am not familiar with Microsoft Access
with Visual Basic, I only really practice basic C++. I'm working on an
Access Application, and i have alot of repetitive variables for the
forms i use. Is there a way of declaring these variables globally
instead of declaring them each time fresh in a new event procedure?
(Is it also possible to initialise them globally as these values are
constants throughout the database)?
Also, my database makes an ODBC connection to a back-end DB2 database
and I use make-table and append queries on ODBC Linked tables. I'd like
the user to not have to enter the connection details every time a query
is ran (Database name and password) I have seen examples for
pass-through queries, where on the query properties a ODBC connect
string is specified or a wizard is ran...but for whatever reason on
mine the only fields that bair a resemblance are a 'source connect str'
and 'dest connect str'??
Thanks alot
Daniel
.
- Follow-Ups:
- Re: Access 97 - global variables??
- From: Michel Walsh
- Re: Access 97 - global variables??
- From: Marshall Barton
- Re: Access 97 - global variables??
- Prev by Date: Adding Text Label if Control Is Not Blank
- Next by Date: Re: IsNull anomaly
- Previous by thread: Adding Text Label if Control Is Not Blank
- Next by thread: Re: Access 97 - global variables??
- Index(es):
Relevant Pages
|
Loading