How To Do Document Error Analysis And Debugging In Access

Oct 16, 2012

I do some error analysis for debugging an Access DB. My question is are there some regulations or frameworks, which could support my work.

View Replies


ADVERTISEMENT

Access Data Business Analysis

Aug 15, 2007

Is there an Add in for Microsoft access that will using a gui based method, run queries, set up automated reporting (task Scheduler) in an easy to administer method. Quest Toad has a new add in Toad for Data Analysis. I am looking for something similar for access. Right now I am doing this manually via creating macros, etc. But there really should be an easier way.
Thanks

View 1 Replies View Related

Image Debugging

Nov 20, 2006

i have entered the following codes

Private Sub Image47_Click()
Dim DBpath As String
On Error GoTo Err_Image47_Click

If IsNull([Yield Trend Chart]) Then
Me.Image47.Picture = "K:Staff FoldersJinLongNew Folderochart.jpg"
Else
DBpath = [Yield Trend Chart]
Me.Image47.Picture = DBpath
End If

Err_Image47_Click:
Me.Image47.Picture = "K:Staff FoldersJinLongNew Folderochart.jpg"

End Sub

i should display the image if the file is valid and if the is an error, the image shall be set to "K:Staff FoldersJinLongNew Folderochart.jpg".

by using the above code, when the image is invalid, it is set to "K:Staff FoldersJinLongNew Folderochart.jpg"

but when the image is valid, it also set the image as "K:Staff FoldersJinLongNew Folderochart.jpg"

how to solve this problem?

View 3 Replies View Related

Modules & VBA :: FileDialog 429 Error On Opening Selected Document

Oct 10, 2013

The following code is throwing a 429 error when opening the selected document (code in red). How do I correct this?

Code:
Dim f As Object
Dim FileName As String
Set fd = Application.FileDialog(1)
Dim FileChosen As Integer
FileChosen = fd.Show

[Code] ....

View 1 Replies View Related

Performance Penalty Of Supporting End-user Debugging/verbose Mode?

Dec 8, 2007

For those who work with *nix programs, you can specify -v to get program to tell you more about what it is doing while it's processing which can be useful for end users trying to figure out possible causes for failures/errors/unexpected results. We both already know that there *will* be a performance hit if we were to leave debugging code, so that's not the question. The question is how much performance hit will a VBA module suffer if it has to check whether it should be verbose or not. Suppose we have a complex set of procedures where several routines will be called or maybe several events may occur, so logically, every routine would need to check whether the user has asked for verbosity or not. So,Private Verbose As BooleanPrivate Sub1Do AIf Verbose Then Msgbox "A worked!"End IfDo BIf Verbose Then Msgbox "B worked!"End IfEnd SubPrivate Sub2Do CIf Verbose Then MsgBox "C worked!"End IfEnd SubThat's a lot of If statements, and assuming every routine was executed, that means the VBA had to test for condition Verbose three times for single iteration.Is there any way to reduce the number of checks and hopefully have a final product that performs just as fast with verbose mode off than one without such mode at all?

View 3 Replies View Related

Opening A Word Document Within Access

Sep 14, 2006

I've used the Outputto method to archive reports creted in Access to Word in .rtf.

I now want to have an option to view these archives from Access. How?

Thanks,

Richard

View 2 Replies View Related

How To Open A Word Document From Within Access

Jan 4, 2007

I am creating a database for someone which includes a mail merged document with some data from the database.
Is it possible to allow the user to open the document by clicking on a button that will be on the Switchboard in the database, so that they do not have manually open the document?
Hope this makes sense!

View 5 Replies View Related

Program That Document Access Applications

Jul 3, 2007

I have seen advertised a number of programs whose developers claim the program will document an application for you.

They're relatively expensive - several hundred $ as I recall. But if they work, it could save many days of headaches.

I was wondering if anyone had used them, if you'd recommend them etc.

View 3 Replies View Related

Calling A Word Document From Access

Aug 26, 2004

When I click a button, I am creating a table for a mailmerge and then calling the document that merge is in so I can write letters.

Everything works properly except the line for calling a document. I've messed with it in several ways but right now it tells me I need an equal sign. Can someone who actually knows VB (I'm just pretending! ) look at this and tell me what might be wrong?

Shell("C:Program FilesMicrosoft OfficeOffice10WINWORD.EXE", "\documentsOfficesJudicial & Court ServicesJudicial CollegeShared Project FoldersTemplatesLetters & AccessoriesConf Letter Mail Merge.doc")

Thanks!

View 14 Replies View Related

General :: Access Document Tabs

Nov 9, 2012

I have a problem with the way my forms are opening.The problem is with the document tabs, not the in form tabs.Basically the database will open the login screen (Modal & Popup) on load, after a successful login the user is redirected to a diary events page and the login form closes, then a user can select an ID (hyperlinked) which will open up a popup/modal form for more details and then if they want they can click a button within the popup which will view all client details.

I use VBA to close any popup/modal forms and open the Main Client Screen, at this point there are only 2 forms open in Single Form format, which is the diary events page and main client screen.The problem is once you click "view client" and the form opens, it defaults to the diary events tab, so the client screen is opening behind the diary events form, you then have to click the document tab for "client screen" to be able to view the form, which is a minor issue but annoying still.

View 1 Replies View Related

Modules & VBA :: Format PDF Document Sent From MS Access

Sep 23, 2013

Is it possible to format a PDF document created in MS Access i.e. set the document to landscape instead of portrait as in the following code;

DoCmd.OutputTo acOutputQuery, "Query Name", acFormatPDF, "Document Name", False

This PDF document is attached to an MS Outlook e-mail and sent without any intervention from the user. This is accomplished using further VBA code. This code is working at the moment sending both Excel spread sheets and PDF documents but the PDF's require the page formatting before sending. I want to be able to accomplish this without having to open another application such as Adobe Acrobat.

View 3 Replies View Related

Merging Word Document With Access Query

Feb 7, 2006

Apologies ... but I am quite new to Access. My database contains about 1000 peoples' addresses.

The problem I have is that I need to merge, say, 20 of these addresses into a word document. In the word document I can select records using the "Surname" field but it will not give me the option to select more than 6.
I am sure there must be a way that I can select more than 6: I have tried separating the surnames with a "," or "or" but nothing seems to work!

Help, please!

Thank you,

Emma

View 3 Replies View Related

Looking For Advice About Using Access As A Document Retrieval Tool

Mar 1, 2006

Our organization (a University) has been engaged in becoming "paperless."

As part of that initiative, we have spent the past several months scanning several hundred thousand pages of documents relating to building systems (HVAC, e.g.) as well a a massive quantity of detailed lead and asbestos surveys and abatement records.

The initiative is indeed reducing the quanity of paper stored in binders and file cabinets, however now it is becomming evident that retrieving some of that information is a real problem for some folks.

At a meeting this morning a question arose about whether we could develop an Access application to retrieve the documents (which are very logically filed on a network share, but it seems to be beyond the compreshension of some staff how to actually navigate through the maze).

My question is this: has anyone in this forum ever tried to implement such a solution with Access?

Any advice or insight would be very much appreciated.

Thanks in advance.

View 1 Replies View Related

Creation Of A Word Document From The Access Form

Oct 17, 2006

Hi....

I have created an Access Form wherein i have given lots of text box and text areas...

Now i want to create a word document dynamically using the information that has been given by the user via the Access form...

I want to create a Table dynamically in the Word Document using the VB code behind an access form... Also through that code i want to manage the font of Word Document and most if its controls..

Can u plz help me in this or provide me with a document wherein i can get some info in regard to it i.e. to manage the Word using Code...

Thanking you,

with regards,
Kapil Sharma

View 1 Replies View Related

Modules & VBA :: Populate Merge Document From Access

Feb 5, 2015

I have been trying to populate a merge document from access. I have the dotx files organised and the recipient file (Query) within my main access project. The following code opens word, opens the selected file (dotx) but can't find the db file.

I am using access 2010 and .accdb database format. I have temporarily put in MsgBox lines to display the running content of fields and they are producing the right info.

Private Sub DocumentsCbo_Click()
' load precedent template as a dotx, merge fields into precedent document, allow user to modify if needed, save it as a pdf
On Error GoTo ErrTrap
Dim MyPath As String ' Path of the source template
Dim DestPath As String ' Path of destination document

[Code] ....

View 1 Replies View Related

Creating Access Database From Excel Document?

Feb 22, 2015

I have attached the excel document in a zip file. Excel documents are not an authorized file type. This is going to be used for volunteers to input the shift and day they would like to work. I want to start by requiring volunteers to contact me and I will add them to the list of possible volunteers and I will give them a unique identification number.

When they contact me I will require all the information that is currently in the excel document (first, last, supervisor, ph number) I will then add them to a list of possible volunteers.

Then I would like a form they can access via sharepoint for volunteering what shift they can work. On this form it will have a box to input their unique id number and then select a shift from a dropbox (that has not been filled and auto populates). This will add them to the schedule.

Then I need a way to pull a report that shows all the volunteers and does not include their ID numbers.

As you can see the supplied document is full for March. I also have a second sheet that is blank for April.

I imagine there will be tables for

Volunteers (no duplicates in this list)
Supervisors (1 supervisor can be over multiple Volunteers)
Dates/Shifts (there are 2 shifts per day, there are 2 slots per shift)

View 6 Replies View Related

Export Access Report To Word Document

Jan 11, 2014

I want to insert access report in a word document, for this, I use this code:

DoCmd.OutputTo acReport, "rptName", acFormatRTF, "C:ReportFileName.rtf"

But, when that output word file is empty, don't have any chart that was in access report.

View 6 Replies View Related

Analysis Database

Mar 18, 2006

Hi everyone,

I'm toying with the idea of designing a database to simplify a task I currently undertake at work (using excel) - comparing price movements in the shares of a certain company with the average movement of the share prices in the sector, and displaying any material discrepancies on a certain day in a report.

From my limited understanding of access I think I would need:

- "PriceData" Table, with the fields - date, share, price, dailymovement%
- "SectorData" Table, with the fields - date, sector, price, dailymovement%
- "Relationship" table, specifying the sector that relates to each fund
- A query which summarises the above, returning the date, share, and the two movement percents and then copies them into a temp table.
- A query/report which pulls out the relevent (material) descrepancies from this temp table and presents them in a nice format.

Is this possible and am I along the right lines?! Any input would be greatly appreciated!

Thanks,

Mat

View 1 Replies View Related

Dynamic Creation Of A Word Document Using Access Form

Oct 17, 2006

Hi....

I have created an Access Form wherein i have given lots of text box and text areas...

Now i want to create a word document dynamically using the information that has been given by the user via the Access form...

I want to create a Table dynamically in the Word Document using the VB code behind an access form... Also through that code i want to manage the font of Word Document and most if its controls..

Can u plz help me in this or provide me with a document wherein i can get some info in regard to it i.e. to manage the Word using Code...

Thanking you,

with regards,
Kapil Sharma

View 1 Replies View Related

Use Access To Open Word, Create A NEW Document, And Then Edit The Doc

Dec 11, 2004

I want to create a new word doc, do a saveas to a specific path and file name, allow the user to edit the new doc, and then close it and return to the Access app. I can create the doc but Word opens without opening the New Savedas Doc. using this code

Dim oApp As Word.Application
Dim WordDoc As Word.Document
Set oApp = CreateObject("Word.Application")
Set WordDoc = CreateObject("Word.document")
oApp.Visible = True
WordDoc.SaveAs ("TS-" & Me.Scriptnum & ".Doc")

Your help is appreciated.

View 1 Replies View Related

Opening Word Document With Info From Access Form

Feb 15, 2005

How is it possible to open a form letter word docment from an Access form in which information on the form (such as name and address) is used in the letter?

View 3 Replies View Related

General :: Link Access Query To Word Document

Sep 26, 2012

Is it possible to link a field in Access to a footer in Word?

I have a field in Access that would look like the following;

G10E-PRO-001RevA

Additional data in access would have the document name, and revision, matching 2 lines of text in Word. I would like the footer in the document to be the above sample, which I assume could be a query that need to run to match the 2 fields of information.... not really sure if this is even possible?

View 2 Replies View Related

Modules & VBA :: Search To Open Word Document From Access

Oct 27, 2014

I was tasked to create an application where by the user enters keywords into an Access form, and when he clicks the button, it will run the keywords against the file names stored in the table and automatically open the Word document that is the best match.

I have created a table query called Directory, which contains FPath (Z:), FName (Document1.doc) and Directory (Z:Document1.doc).

Code:
Private Sub Command2_Click()
Dim wrdApp As Word.Application
Dim wrdDoc As Word.Document
Dim filepath As String
Dim strSearch As String

If IsNull(Me.txtSearch) Or Me.txtSearch = "" Then
MsgBox "Please type in your search keyword.", vbOKOnly, "Keyword Needed"

[Code] ....

This is the code that I am currently using to search and open the Word documents, however, this code only manages to open Microsoft Word program without loading any documents. Also, there are no error messages when I click the submit button.

View 3 Replies View Related

Embed Interactive Word Document In Access Form

Jan 26, 2015

I need to be able to embed an interactive word document in an access form. The need is to put in text that has underlines and strikethroughs to indicate name changes to policies.

The user creates a new proposed update by designating the policy number but I need a word file attached to this update that can show more punctuation than access can show.

Of course I want to make this as automated as possible so the user doesn't have to work in two different places to get this done.

View 3 Replies View Related

Using Access To Create Document From Multiple Choice Options

Mar 23, 2013

I currently write (very long) reports for work, which have a lot of standard text in them - but the standard text varies according to the client's history.

I want to create a report-writing application for myself, composed of series of yes/no/maybe buttons
and depending on whether I click yes/no/maybe in each section, a different segment of text is inserted into the report.

Ideally the application would be able to insert, or create, formatted text - such as headings, bullet point lists etc - I would need to be able to export this report into Word

I started out by making a table, with each section being a different field, and the various paragraph options as different cells in the field, but I am stuck at present on the basic functionality of "click button , insert text"...

View 3 Replies View Related

Help With Database Design - Analysis

Sep 23, 2005

Hi Guys,

I have sort of problem - I'm trying to desing the database for one of the organisations.
The entities are: Family, Child, Referral, Voucher, Receipt, Provider, Activity.

That's ok so far. I've been asked to do the option for the new address of the Child - in case if they move to the new place and keep the old one as well.

Family table is the 'child table type' for the Child table - family can have more than one child, but one child can be part of only one family (one to many relationship).

I thought to make a seperate table 'tblAddress' and store all addresses in this table - then link them to the family - this however requires from me to have additional field for - for instance - second address, third address, which in case there was no change in address would remain empty value.
The other option - which obviously is absolutely waste of space is to add straight away additional address fields in the 'Family' table itself.

Don't you know of any other, more appropriate solution?
If you need more detail - I can send the copy of the database which I have created so far.
I would appreciate any help.

Thanks,

Scabro

View 14 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved