Access DB - Submacro "Cannot Parse Expression" error - ms-access

I'm creating a form to pass parameters to a query. I'm following the instructions located at this URL. "Use parameters in queries, forms, and reports" I'm in step 3 (see screenshot in the article) of this article and stuck on the error in the screenshot. I'm at a complete loss for why it's not allowing the form name as the screenshot shows. Any assistance or direction to go would be much appreciated.

Related

SaveRecord error in Access template macro

I'm using a database based on the MS-Access Assets Database template. (You can download it here: https://support.microsoft.com/en-us/office/use-the-access-asset-tracking-template-6e99a32c-fbda-48a2-89b0-ef0d68b381ec.
I've added a few tables of my own and some VBA code.
On the "Asset Details" form, I can make a change to the current record, then press the "Save and New" button. It runs the embedded macro cmdSaveAndNew, which you can see here:
I have not modified this macro. But it gives me this error message:
The Microsoft Access database engine cannot find the input table or query 't Asset Log'. Make sure it exists and that its name is spelled correctly
So you know, t Asset Log is the old name of one of the tables that I added to the database. I cannot figure out why the embedded macro is trying to access it. (In the current version of the database, it's tAssetLog with no spaces. I've searched through my VBA code, and it only uses the current spacing.)
I tried the macro in "Single-step" mode. As near as I can tell, the error occurs at the SaveRecord line.
I've looked at the properties of all the controls, and I don't see any Data or Events that point to t Asset Log. I've run "Compact and Repair" on the database, and also compiled the code in the VBA editor; they didn't help.
open the queries involved with this macro and sanity check that 't Asset Log' is not being used as criteria or in a calculated field...
if you don't see it there, wouldn't hurt to search in VBA for 't Asset Log' - is easily done with the Find feature...but doesn't seem like is here though not sure what the macro does....

Google Data Studio Gives Error When a 3rd Schema Attribute is Added

I have created a Custom Community Connector that currently has a schema with two attributes. A Metric: Budget Amount, and a Dimension: Budget Name. These are pulled from an API from another site. When linking this connector to a Data Studio project I am able to create a Pie Chart that displays all Budget names and amounts.
However, once I add a third attribute of any kind (ex. Metric: Budget Spent or Dimension: Company Name) the pie chart no longer shows and displays an error :
Script error message:
Script error cause: UNKNOWN
Script error stacktrace:
I have confirmed that data is flowing correctly by using logs within Apps Scripts and with the Table chart in Data Studio. The Table Chart is the only table that will show up but only when all possible Metrics and Dimensions are apart of it.
I am currently looking for anyway to debug this, solutions, or advice on where to go from here. I would like to expand the Schema, however I cannot continue if charts stop working when I add more attributes.
If more information or code is needed let me know and I will provide whatever is needed. Thank you for your time
The Debugging Guide should get you started with the debug. I recommend you use Stackdriver logging to log the request and response for each function. You can see an example of logging here.

Shared dataset appears for selection even after deleting from report server report builder3.0

I created a Shared Dataset in report builder 3.0 a week ago and stored in my "My Reports" folder on report server.I removed it the other day; however, when I go to create a new Dataset today...it's still listed as an option. When you attempt to select it from the list you receive an error message that it's no longer available. Below is the error which I am getting :
"The shared dataset cannot be loaded from the server".
Please help if anyone has faced a similar issue and know the reason for it. Thanks in Advance !!!
Ren is more or less correct, Report Builder is caching a list of items you've recently used. It does not bother to check if the items it's caching actually exist or not, which is why you're getting the error you do when you try to use one.
To clear the list, click the big icon in the top left (or alt + F), then click the Options button at the bottom of the dialog that appears.
In the options window you can clear your recent item lists, along with change some of the rules for how those are kept.
I don't believe there's any way to make Report Builder automatically remove broken/missing references

Reading Error Information

How do I see more details on the error messages I get when running scripts inside a spreadsheet (or anywhee for that matter). For example; when getting a 'red failed script' message it only highlights it in red and gives a link to Dismiss. I want to get more information on the error for debugging and troublshooting.
Is there some facility to view this information?
If not what is the typical troubleshooting method used to drill down into the error and figure out exactly what is causing it to better find a solution?
Thanks in advance for the help
You want to open the Script Editor in the spreadsheet so you can look at the script itself. Select the function you are trying to run in the spreadsheet from the dropdown thingy at the top and hit the play button. It should give you a reason and a line number where it fails. Place a breakpoint there and hit the debug button and step through it.

access 2007 bug - intermittent query parameter prompts

I am working on an Access 2007 application that was created by someone else. It has a strange, intermittent bug in which it prompts the user for query parameters when the main form is opened. The query parameters are clearly not necessary, because the error does not always occur.
The very strange "fix" to this problem is to open and close a particular module before opening the main form. Then the form opens without parameter prompts. However, of course I can't ask end users to open and close modules.
I tried using a macro to open and close the module when the database is opened. That fixes the bug, but leaves the VBA code window open, so that's no good.
Has anyone run into anything like this before? Any suggested solutions, workarounds, debugging tips, etc?
If you use the "Database Documenter" feature and check "yes" to all the options, you will obtain an exhaustive report that should let you trap your problem parameter. Export this report as an .rtf or .pdf document, so it is searchable. Identify a keyword from the dialog prompt, and search on that.
Once you check the query objects using the Documenter, check your VBA code. You'll do this by stepping through code in the IDE. If the main form has subforms, they are opened with (within) the main form. And they load before the main form.
Identify those subforms.
Sprinkle
breakpoints in their code modules
(if you find a Load function, that
is highly relevant).
If the main form has a
code module, do the same there.
Have a look for global variables in the module that needs to be opened and closed or any variable that is referenced in the module belonging to the form.
Access displays the Enter Parameter Value dialog box when you open an object that contains an identifier or expression that Access cannot interpret. You need to determine the source object. Here's a step-by-step guide:
http://office.microsoft.com/en-us/access-help/why-does-access-want-me-to-enter-a-parameter-value-HA010274377.aspx