How can I find the definition

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all,

I double clicked on a variable and press Shift+F2 to try to get the
defination, but I was told "Can not jump to C:\mydatabase.mdb which is not
currrently referenced"
How can I solve it?

Clara

thank you so much for your help
 
Hi, Clara.
I was told "Can not jump to C:\mydatabase.mdb which is not
currrently referenced"
How can I solve it?

Either add C:\mydatabase.mdb as a library reference or open the
C:\mydatabase.mdb database manually, then open a module and search for the
variable name in the current project, where once you find it you can select
<SHIFT><F2> to jump to the definition.

Do you need help adding the library reference?

HTH.
Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips and tutorials.
Blogs: http://DataDevilDog.BlogSpot.com http://DatabaseTips.BlogSpot.com
http://www.Access.QBuilt.com/html/expert_contributors2.html for contact
info.
 
Hi Camaro,

Here is my case. On my form, I created some textbox controls bound to a
query and displayed the form in a datasheet view. Now, I think Access
declare some variables according to the textboxes' names. How can I see the
declaration of these variables.


Clara

thank you so much for your help
 
Hi, Clara.
Now, I think Access
declare some variables according to the textboxes' names.

Access didn't declare any variables for you. It created a Form Property for
each bound column. The text box is named the same as the bound column if
you used the Form Wizard to create it, unless you change the name to
something else, which you'd better do if you ever use the control in VBA
code or in the form's properties dialog window. This will help you avoid
bugs, such as circular references.
How can I see the
declaration of these variables.

Since there are no variables, you can't see their declarations. However, if
you want to see the name assigned to a control on your form, open the form
in Design View and select the control, then open the Properties dialog
window and select the "Other" tab. The Name Property will show the
control's name.

HTH.
Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips and tutorials.
Blogs: www.DataDevilDog.BlogSpot.com, www.DatabaseTips.BlogSpot.com
http://www.Access.QBuilt.com/html/expert_contributors2.html for contact
info.
 
Back
Top