> > I'm making a Micorosoft Access 2000 DB.
> >
[quoted text clipped - 22 lines]
>
> Larry
>> In the General, Declarations section of a standard module (for
>> application-wide accessibility) use a statement such as:
[quoted text clipped - 9 lines]
>
> and it is not working.
What does "not working" mean? Are you getting an error? If so, what's the
error? Is the caption being set to something other than what you expected?
If so, are you sure that the constants are set correctly? Are you sure you
put the declarations into a standard module, as opposed to the module
associated with a form, or a class module?

Signature
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)
mark s. - 11 Nov 2006 12:35 GMT
>>> In the General, Declarations section of a standard module (for
>>> application-wide accessibility) use a statement such as:
[quoted text clipped - 15 lines]
> put the declarations into a standard module, as opposed to the module
> associated with a form, or a class module?
Okay, It's working; I wasn't just looking at the caption. ^_^;
Now I want to use those set constants in form controls (like a label,
text box, listbox etc.). But I do not know how to output it in the
standard module (Not a class module, because I know that you can't use
"Public Const" from looking at the help file on it.)
Douglas J. Steele - 11 Nov 2006 15:42 GMT
>>>> In the General, Declarations section of a standard module (for
>>>> application-wide accessibility) use a statement such as:
[quoted text clipped - 22 lines]
> module (Not a class module, because I know that you can't use "Public
> Const" from looking at the help file on it.)
In the form's Load event, you'd put code like:
Me.MyLabel.Caption = AppName
Me.MyTextBox = AppVersion
Not sure how you'd intend to use the constants in a list box, although I
guess you could have something like:
Me.MyListBox.RowSourceType = "Value List"
Me.MyListBox.RowSource = AppName & ";" & AppVersion

Signature
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)