BrianCambrian
Registered User.
- Local time
- Today, 02:05
- Joined
- Nov 11, 2014
- Messages
- 10
Not sure if I am being stupid, I'm certainly struggling with Access.
One of the frustrating things I come across and I am sure other beginners must have come across similar is when you Google a question and you get answers that do not give a working example and don't actually make any sense. I will give an example:
I could not figure out the command to open a form using VBA code so I Googled the question 'access 2007 open form with vba'. The first link was to Microsoft's site which gave me the following:
The OpenForm method carries out the OpenForm action in Visual Basic.
Syntax
expression.OpenForm(FormName, View, FilterName, WhereCondition, DataMode, WindowMode, OpenArgs)
expression A variable that represents a DoCmd object.
Followed by a list of optional parameters.
I tried putting the form name in Parentheses, in square brackets, in quotation marks and surrounded by nothing
After searching umpteen websites I discovered that the form name should be enclosed in quotation marks as well as parentheses. I see an example on the MS site but it uses only quotation marks and I found they don't work on their own, you need the parentheses as well.
This is extremely frustrating as I made numerous unsuccessful attempts before stumbling on the secret solution.
Am I just being thick ....?
regards
Brian
PS sorry for the rant so early in my membership of this forum as you guys have been very helpful so far and I don't want to upset anyone
One of the frustrating things I come across and I am sure other beginners must have come across similar is when you Google a question and you get answers that do not give a working example and don't actually make any sense. I will give an example:
I could not figure out the command to open a form using VBA code so I Googled the question 'access 2007 open form with vba'. The first link was to Microsoft's site which gave me the following:
The OpenForm method carries out the OpenForm action in Visual Basic.
Syntax
expression.OpenForm(FormName, View, FilterName, WhereCondition, DataMode, WindowMode, OpenArgs)
expression A variable that represents a DoCmd object.
Followed by a list of optional parameters.
I tried putting the form name in Parentheses, in square brackets, in quotation marks and surrounded by nothing
After searching umpteen websites I discovered that the form name should be enclosed in quotation marks as well as parentheses. I see an example on the MS site but it uses only quotation marks and I found they don't work on their own, you need the parentheses as well.
This is extremely frustrating as I made numerous unsuccessful attempts before stumbling on the secret solution.
Am I just being thick ....?
regards
Brian
PS sorry for the rant so early in my membership of this forum as you guys have been very helpful so far and I don't want to upset anyone