Issue with creation of reports, images and informations are missing - ms-access

I'm trying to generate some reports on ms-access, at the beginning I thought my problem came from the size of my images but in fact that's not true. I'm generating some reports with different informations, different images, there is more or less pages depending on the report. And I encountered some issues with the reports with a lot of pages, at the beginning everything is correctly generated, but very quickly I saw missing informations, missing images until there are only blank pages. Maybe a processor issue during the creation of the pages, there is a way to fix that ?
Thanks in advance for your answer.
Example of what I want
Here is an example of my report, the white square represent my image, and the blue squares represents my informations about my product.
And in the following example, I have generated my report and at the beginning everything is fine (Page 1), after I've only the image of my product (Pages 2,3) until I got nothing (Page 4). In this example there is 88 pages in reality, I show you the part were there is a problem.
Example with what I have
For my DB, she was created a long time ago with visual fox pro and for my query it's between 4 tables and the query returns more of 60 fields. I can't show you this, because this Access file was created by another user and I can't modify a lot of things, I can't have the request in SQL language, it's blocked.
And the last part, my images are stored in a local server, we're placing them in the report by looking the reference of the product.
I hope that this informations will be useful to answer me.

Related

Using a Word template in SSRS

I have a word document currently used in a mail merge. My product owner wants it setup to use SSRS so we can take advantage of internally generated data in addition to the stock data our vendor's platform provides. The platform integrates with SSRS so options that are not SSRS are not available to me. I found this question but it's been inactive for 9 years and didn't get a lot of traffic and the linked blog post appears to be gone.
Using a Word document as a template for an SSRS report?
Is there any way to use the word doc as a template, or some kind of starting point in SSRS?
Unfortunately this is not possible without a lot of work. I had the same issue several years ago and ended up writing an application in C# to do all the work. This was not something that we could achieve in a few days.
Just in case you considered going that route, here are some of the issues you might face and what we did to get round them.
Font/Styles: We wanted to apply certain styles to sections such as the contents page, numeric tables, blocks of text. Within the SSRS report was an option to 'use tags' (via a report parameter). This allowed us to add tags that could be used to search/replace or style anything within them. The app would look for these tags style according to the template
Nested tables: Our reports were mainly tables of data interspersed with blocks of text. SSRS tries to gets things to physically align with what you see on screen so it tends to put everything in tables. This causes problems when you want to find blocks of text etc (as above) so I had to write a routine that would look for the innermost table and extract that. Sometimes this would select the wrong table such as if column are merged, SSRS will create yet another table to contain just that one piece of text so I had to add tags to the report to tell the app what to expect. All very messy.
The basic principle was to get SSRS to dump out a word file then our app would read thru it and extract the content, pasting it into a new document which was based on our Word Template.
If I had to repeat the process avoid doing what I did and I would concentrate on getting SSRS to output exactly what was required, matching the template design but this is only good if you don't have things like form fields etc as SSRS cannot produce these.
Word Automation is another option but that is slow or maybe look at some of the Apose renderers and see if they are of any use. ( https://www.aspose.com/ )
Sorry its not the answer you wanted but hopefully it will save you some time trying to figure it out.

Where are the MS Access tables I have shortcuts to?

I have a MS Access 2013 file that I am using. There are two possibly related concerns. For some context, this is an MS Access 2013 file with some forms and some tables and a bit of VBA for the logic of how those two interact. For versioning, the file has been copied and pasted with a datestamp on it for the newer version.
The first concern is that all the file sizes for the various files is exactly the same, even though data has been added and some changes to the forms were made.
The second concern is that when I right click on a table and go to table properties, it says "Shortcut to Table (Local): table_name" where table_name is the name of the table. It appears that this is a shortcut to a table somewhere, but I'm not sure where. The forms are also shortcuts to forms, but I don't see the destination form in my file anywhere, even after unhiding system objects. My questions regarding this are: how did this happen (I was assuming it had something to do with the fact that I copied and pasted the file) and where is the file that these are a shortcut to?
Everything seems to work fine, but I'm concerned that if one of the legacy files gets removed that I might lose some data. Is my data being stored within this file, or did it get split somehow and the data is being stored in a different file somewhere? I just want to have a better grasp of what exactly is going on.
I feel like I have a good handle on the SQL and a pretty good grasp of the VBA, but the MS Access specific nuances are something I'm still gaining familiarity with.
Well, it seems it was as simple as changing the view in your navigation pane to something else than custom!

Wordpress Migration Broken Images

I'm having a little issue with a Wordpress site. What I want to do is to migrate all the posts/news from one installation to a new one, including it's images.
So what I did, apart from reading a lot of tutorials, was.
First Download the XML that contains all the info from the posts,
Second Uploaded the XML to the new site, it imported the posts, categories and authors with no problems, but with no images.
Third I transferred the images via FTP, to the same location, with no change in the names or anything. Also, the folder has all the permissions.
Fourth I read that after all this is done, it's necessary to do a MySQL change, related to the "post_content" where you should change the old domain, for the new. The change is made, but nothing happens, the images are still not visible.
So.. What could be the step that can be missing? Or did I made something wrong?
This post has the information related to the MySQL sentence to replace the "post_content" field.
Thanks in advance.

Advice about storing searchable documents with tables and images in MS Access Database

I have a huge MS Word file I use for personal notes but I want it to be more flexible. The file is made from short articles (600 words) with date, title, sometimes a table or some images. I came up with the idea of separating the single articles an put them in Access, to extract them from the database with queries, add tags, sort chronologically.
One big question is: which format should I use? I tried Access 2010 Rich Text Edit but it doesn't show tables, and I don't know where to store images. My idea is to store images outside the file.
Another thing I tried is to store the files as HTML in the database directory, but when I try to add some interface functionality I encounter problems with the most trivial things, like making VBA open the associated file. I don't like storing outside Access also because I don't have full-text search.
The primary requisite for this application is that it must not be cumbersome: it's a prototype I want to use to see if my model of storing notes works, so I don't want to spend a month programming an user interface, and if I note any defect at runtime I must be able to switch to design mode and fix it in minutes. If I want to write something, i don't have to worry about HTML syntax but I want to be able to add some simple table or image.
What I finally search is a HTML viewer in Access interface that receives an HTML string (composed by a query) and displays it.
At this moment I'm considering to remain with my MS Word file because switching seems too complex, although I don't like the sequentiality of articles and the hierarchy of chapters/subchapters, which made me think about this Idea.
The answer to all those problems was Evernote, which is like a Wiki you can edit quickly also from a smartphone, with or without an internet connection, which syncs to a master version on an Evernote server and without the constraint of having to invent a title for every page/idea.
If I had a huge Word document like yours, I'd probably split it into individual files and use something like dtSearch.

Access DB corruption issue, can't find info on similar issue anywhere

I am currently working at a large company on a school placement. The group I am working in supports a fairly complex Access DB which houses a myriad of data, and has 40+ forms. We have been running into a problem that no one (not even the vets) can figure out. I've been asked to search the internet for any info, but can't even find anyone that has even had a similar issue.
Here is the problem:
A bit ago (read: before I got here), the company did an upgrade from Access 03 to 07. Everything was fine. My first task when I arrived was to insert a snippet of code to record which user was making modifications to different DBs (because of the removal of the mdw). This went fine, and we threw the whole thing into production.
A few days later, we received our first phone call, "Help! I keep getting an error, and can't access the db!" The error was 'The VBA modules in this db appear to have been saved with errors, etc, etc'. We obviously had corruption issues. Funny thing is, when we went into the code for the forms, it was all gone, save for "Option compare DB" at the top of every form. So we had 40+ forms that all said that, and nothing else.
We promply re-upped a backup, no big deal.
Two days later, same thing. Re-up the backup.
This happend a few more times. Not just the same user on the same machine. However, didn't happen to me, or to my mentor.
Then we thought maybe the issue was the way we imported the forms with the new code, so we installed the backup, and copied the forms over one by one.
Next day, same issue.
By this point, we thought that it must be the five lines of code we had added (who knows why), so we just ran with the old backup, no changes.
It's been about two weeks now, no issues. Until this morning. One particular user had this happen four times yesterday (not to any one else).
Anyone ever heard of such a thing? What could possibly be the problem? I'm sure there are a wide variety of possibilities, and I am sure I haven't given enough info to narrow it down much, but I don't know what else to write (never worked with a large Access app before).
I'm obviously stumped, but so are all the clever vets I work with.
EDIT**
For clarity: All of the forms are perfectly fine in terms of their view. I can open them, and they look absolutely normal, just no back end code....
Each user should have their own front end, vanishing code is a corruption issue and you are losing all the advantages of a split database if the users do not each have their own front end. you can get additional protection from compiling the front-end into an accde or mde file.
The usual argument against each individual having their own copy is that it is difficult for developers to keep the various copies in synch, but there are several solutions for automatically rolling out updates to users, for example, this one by Tony Toews: http://autofeupdater.com/