Re: References choice...
- From: "Alex Dybenko" <alexdyb@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 21 Jul 2006 08:45:38 +0400
Hi,
as I understand you - you can declare a public variable in common module, in combo box AfterUpdate event assign it to selected value. Then you can use it in code, to use it in a query - you need to make a public function, which returns this variable value, and use this function in a query
--
Best regards,
___________
Alex Dybenko (MVP)
http://alexdyb.blogspot.com
http://www.PointLtd.com
"strela" <neko@xxxxxxxxxxxx> wrote in message news:e9o227$ume$1@xxxxxxxxxxxxxxxx
Thank you, this is helpful.
I have forgot to ask you too next question:
Is it possible to define constant 'A' that would pick a value from combobox
on a form and would be visible in whole project (I would use that value
later in other forms,...). One example: when I make query, I would like to
have this value as criteria also after I close form where combobox choice is
made (when query relies on combobox value on form, it looses this value at
the moment the form is closed). Any help?
Thanks in advance.
Best regards,
Stole.
"Alex Dybenko" <alexdyb@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:u2ahu89qGHA.3820@xxxxxxxxxxxxxxxxxxxxxxx
Hi,find
then you can open object browser (F2 in VBA window), select library you
interested in and it will give you list of classes, methods and properties
--
Best regards,
___________
Alex Dybenko (MVP)
http://alexdyb.blogspot.com
http://www.PointLtd.com
"strela" <neko@xxxxxxxxxxxx> wrote in message
news:e9ndlv$neu$1@xxxxxxxxxxxxxxxx
> "Alex Dybenko" <alexdyb@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:#zoXt2wqGHA.3484@xxxxxxxxxxxxxxxxxxxxxxx
>> hi,
>> in general - you need to have min 3 references in Access
>> Access
>> VBA
>> DAO (or ADO)
>>
>> if you are not sure you using any other - you can remove it.
>>
>> Normally, when developer decides to start using some library or >> ActiveX
>> control in access application - he adds reference. it this case he >> have
>> to
>> be sure that this library or control installed on other users PCs
>
> This is database for me and few more people. Everyone has the same
> computer
> and software, so this should not be problem. Problem is where can one> what each reference "brings new" to access VBA? Thanks in advance.
>
> Best regards,
> Stole.
.
- Follow-Ups:
- Re: References choice...
- From: strela
- Re: References choice...
- References:
- References choice...
- From: strela
- Re: References choice...
- From: Alex Dybenko
- Re: References choice...
- From: strela
- Re: References choice...
- From: Alex Dybenko
- Re: References choice...
- From: strela
- References choice...
- Prev by Date: Re: List of VBA programming constructs?
- Next by Date: Re: Checking for empty RecordSource
- Previous by thread: Re: References choice...
- Next by thread: Re: References choice...
- Index(es):
Relevant Pages
|