Calling Another Program From Access

Oct 5, 2004

Can anyone tell me how on a macro to call another application. I am trying to open up a mainframe session so need to run something like c:mainframe.rsf???

View Replies


ADVERTISEMENT

Calling Another Access Program From A Form

Jul 27, 2005

How do you use a button on a form to call another access program? We have 8 access programs that we want to be able to call from one form.
Thanks

View 2 Replies View Related

Calling All Access 2007 Pros

Mar 5, 2008

Hello,

I am having a heck of a time getting a Dell laptop with a WIRED connection to connect to an Access 2007 database.

After foolishly connecting to this database wirelessly, I took the wise advice of members here to never connect an Access database using a wireless connection due to Access' fragility.

But now, even when this laptop is wired to the network, it takes a VERY long time to reach the database. And lately, it fails to connect due to a network failure.

The database is hosted on a Windows Vista Home Premium OS. Two other XP SP2 machines can see and connect to the database perfectly. But this laptop (also Vista HP) cannot see/connect to the database.

I'm totally stumped! I have no idea as I'm not really sure about Vista. I know that Home Premium has much better network access than Home Basic, but this type of simple connection shouldn't be so burdensome.

Has anyone else had this problem? If not, can anyone suggest a route to take ?

Thank you for your time!
Mike

View 5 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

Calling An Access Function From Inside Of WORD

Oct 5, 2005

My title may not accurately express my question. If you can suggest a better way to do this, please feel free to elaborate.

Within Access, I have an "Invoice Number" table, with a single field containing a number. I have a function that accesses the table, increments the number and returns it to the invoice number field.

I need a way to perform this same function to the same table from within WORD.

I appreciate your time and interest.

View 1 Replies View Related

Calling Suer Defined Functions From Within Access Query... And More!

Nov 17, 2004

Hi all,

I have quite a large select query that pulls in Date values from different tables. The end result is a list of records, where each record has 7 types of dates, put in columns A, B, C, D, E, F, G. What I need to do is, for each record to compare dates in those columns and put the LATEST one of them in the column MDATE.

I've tried using IIF function, but it grows exponentially with the number of values involved, and it can only handle 5 values before its cause error "too large". Alternatively I thought I could write a function to return the max date and call it from within the query, something along the lines of "select *, fnMaxDate(A, B, C, D, E, F, G) as MDATE from tblBLAH etc". The function is:

----------------------
Public Function fnMaxDate(a As Date, b As Date, c As Date, d As Date, e As Date, f As Date, g As Date) As Date

Dim Temp As Date
Temp = Nz(a, "01/01/1901")

If Nz(b, "01/01/1901") > Temp Then Temp = b
If Nz(c, "01/01/1901") > Temp Then Temp = c
If Nz(d, "01/01/1901") > Temp Then Temp = d
If Nz(e, "01/01/1901") > Temp Then Temp = e
If Nz(f, "01/01/1901") > Temp Then Temp = f
If Nz(g, "01/01/1901") > Temp Then Temp = g

fnMaxDate = Temp

End Function
----------------------

I've put a break at the start of the function, to see what it'll come up with but when running the query it didn't appear to call it. All values in MDATE where #error.

Can someone advise me, please, on the best way of picking the LATEST date? I'd also appreciate it if you tell me why the function didn't get called, as I was quite certain it is possible to call user defined functions from within the query.

Cheers,

Kat

View 1 Replies View Related

Modules & VBA :: Calling Stored Procedure From Access Gives Run Time Error

Nov 27, 2013

I am trying to call a stored procedure from access ,but it is giving me this runtime error :

Code:
2147217900
Syntax error or access voilation

I am doing this first time so i dont know about how to pass parameters (IN and OUT)..

My code is

Code:
Public Sub createDataToAnalyze()
Dim objConnection As New ADODB.Connection
Dim objCom As ADODB.Command

[Code].....

View 1 Replies View Related

Modules & VBA :: Bring Outlook GAL Dialog To Front When Calling From Access

May 30, 2014

I've written a function which opens the Outlook GAL dialog, allows users to select recipients and passes back a 2-D array (recipients and type i.e. To, CC or BCC).Here is the code :

Code:
Public Function GetContactsFromOutlookGAL() As Variant
Dim appOutlook As Object ' Outlook Application
Dim objNameSpace As Object ' Outlook NameSpace
Dim objSelectNamesDialog As Object ' Outlook Select Names Dialog

[code]...

The only problem I have is that when I 'display' the SelectNamesDialog, it doesn't make it the active window and bring it to the front - it just opens the dialog in Outlook and you have to navigate to the main Outlook window to find it.I'd like for the dialog to 'popup' - ideally, without the main Outlook window dragging along behind

I believe it's possible (judging from this article) to achieve this using API's - specifically, a combination of FindWindow (to retrieve the window handle) and ShowWindowLong (to set it to a topmost window in front of all other windows).

View 12 Replies View Related

Is Access 2003 The Right Program For Me?

Aug 3, 2006

Before I start on this seemingly endless journey of learning Access 2003, I thought it appropriate to ask the question;

Will this program do what I need it to do?

I apologise in advance if this is not the right place to ask the question, I am a complete beginner to Access 2003.

I want to make an electronic log book for the guys at work, there are 5 people of different trades who would need to keep the log.

A typical entry would be as follows

Mon 22/3/06 Alan Smith B Shift

Compressor house (heading)
No 1 compressor (plant)
Oil pump (component)
Filter cleaned (action taken)

Personel (heading)
John Jones (personel)
Phoned in sick at 15:00hrs, will phone tomorrow to update

Boiler house (heading)
No 4 boiler (plant)
Water vlave leak (problem)
Tightened gland (action taken)

There are many headings, probably hundreds of plant, thousands of components and actions taken

We would need to view events to particular plant or areas between certain dates, some personel would need to enter data, some would only view the data without being able to enter it, few would need to alter the data.

Is Access 2003 capable of this, should I start the journey?

regards
culedude

View 1 Replies View Related

Simple Access Program, Anyone Help?

Sep 13, 2006

Hello all!

Please forgive me for being a COMPLETE novice at Access, but I am trying!

What I need to do, is have an ordered list, which has check boxes along side each item.

When the relevant items have been checked, I need to be able to save or export to CSV, with ONLY the items which have been checked!!

I need the list to be pulled from a seperate source (like an excel spreadsheet) so that it can be updated easily...

Can anyone help?

so...

Item 1 [X]
Item 2 [ ]
Item 3 [ ]
Item 4 [X]
Item 5 [ ]
Item 6 [X]

would produce a CSV file:

Item 1, Item 4, Item 6,

Simple enough?

View 1 Replies View Related

Access Repair Program

Dec 10, 2006

Greetings:

I am looking for a program that will repair a MsAccess 2000 .mdb file. So far all I have been able to find is those that repair the tables, does anyone know of a program that will repair the entire file including the forms?

Thanks

Mickey

View 2 Replies View Related

Is Access Stable DB Program?

Apr 13, 2007

I believed that Access is a stable DB program. It looks like I may have to change this view. Yesterday, due to some fault in power supply (SMPS), my PC suddenly went off while I was working in my Access DB. My DB is a personal DB (single user). Today, after replacing the SMPS, when I opened my DB, Access gave a message that my DB is corrupted while it was being used last time. It asked to attempt repair with Yes/No button. I clicked the Yes button and it did nothing. In my third attempt, I was able to open my DB but I am worried whether it will work as before. Could the experts in this forum throw some light about Access DB' stability and measures to prevent corruption? Grateful for advice.

View 9 Replies View Related

How To Close Access Program?

Jul 28, 2005

I have tried using the DoCmd.Close method but I actaully want to close the whole program?

Any ideas?

Many thanks. Jon

View 1 Replies View Related

Email Program And Access Database

Jun 27, 2005

Can anyone suggest a good program that will handle scheduled emails to people in our Access database? I need to send an email automatically to each of our employees on their birthday. I need the program for much more than that but that is what I am working on at this time.

Thank you!

Ben

View 4 Replies View Related

Can Access Accept An SQL Request From Another Program?

Feb 8, 2006

I have noticed diagrams showing Microsoft SQL Server accepting SQL statements sent by “SQL Requesters” over connections. I would like to know if Microsoft Access can be used in that fashion?

Put another way, can Access be configured to accept an SQL statement that another program (e.g. a VBA program in a VBA enabled 3rd party app) creates?

Currently, my VBA program instantiates an Access database object and then manipulates it (I just add a record to one of the tables), then closes and destroys it. This solution seems fragile (it stops working—I can explain more if needed). I would like to know if the technique inferred by my question would be more reliable.

View 2 Replies View Related

Can You Program Access To Automatically Close If Not In Use

Oct 12, 2006

We are having a problem with mulitple users leaving an Access db open and then I am not able to make new reports, etc. without calling everyone to close their session.

Is there a way to automatically close a db if user has not used in certain amount of time?

Thanks, Noreene

View 5 Replies View Related

Minimizing Access Program Window

Feb 1, 2007

I have a VBA program that I wrote in access. My question is this: Is there anyway to eliminate or minimize the main Microsoft Access program window so all the user would see is my forms and the desktop? Not that ugly gray back drop? Thank you in advance for your help.

-Rob

View 2 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

Eixt Help For Access Program URGENT!

Jun 6, 2005

hi to all,

does anyone know the code to close the access program.

That is when i select the close button on the switchboard, the whole of MS access is closed.


Thank

View 2 Replies View Related

Modules & VBA :: Calling RDL File To Generate Reports From A Form Control Button In Access

Dec 2, 2014

So Access was unable to manage the amount of content that I needed to produce in a single report. The reports contain 12 charts/graphs all of which I needed on separate pages (one chart per page). As such I could not create large enough charts in access to fit to each page, as Access limits the amount of space one can use in a report.

I downloaded Microsoft Reports Builder 3.0 and built my reports as needed and can generate them as desired at current. I'm wondering if there a way to call that RDL file I created to generate my reports from a form control button in Access?

View 3 Replies View Related

Hiding Access ==> Must Be A Sort Of Normal Program

Feb 8, 2006

Hello All!

As in the topic stands that im looking for a code that hides Access and it starts up like a normal program. Ive searched several things on the forums and i actually did found something only he didnt gave the code ;(.

So first question:

How can i do this with a code?

Second question:

What do i need to change on my forms?

Etc etc :)

Thanks alot in advance!

View 6 Replies View Related

How Can I Run MS Access Program Automatically From The Startup, Show It In Sys Tray

Jun 3, 2007

I developed a program. Would you please teach me how to run it automatically when the computer restarted, through the startup.

Plus this I want to let this program run through the system tray, and not shown in the the Taskbar, if this feature is provided by MS Access 2003

Thankful...

View 6 Replies View Related

MS Access: Logic For Point/Miles Rewards Program

Jul 9, 2007

Hi Everyone:

I am new to this forum as I recently started working in MS Access. I’m hoping someone can please help me with this query I’m trying to do using MS Access 2007.

This task is somewhat similar to a typical points/miles rewards credit card program.

The problem is as follow:

For every $2,000 of accrued purchases in a credit card, an individual will get a gift card.

So, any remaining balances over $2,000 will rollover and be added to next set of transactions, until it reaches $2,000 again. For instance, if on the first week I spent $2,500, I would qualify for my first gift card. The excess $500 would rollover and be added to the next set of transactions until they reach $2,000 again. Therefore, this would qualify me for another gift card.

So far, I’ve created two tables, one that stores accrued purchases (Promo History) and another table based on an Append Query which takes all qualified transactions from the first table and appends those records to the second table (Promo History Qualified) in order to track those qualified transactions over $2,000.

However, I’m stuck on how I would accommodate the remaining balances to be carried over. Any suggestions would be greatly appreciated!!

Thank you in advance,

marel

View 1 Replies View Related

How To Open Access 2007 From Visual Basic Program

Nov 22, 2014

I have a fully operational Visual Basic program that uses MS Office XP and it's related MS Access. Because of security concerns, I recently upgraded to MS Office 2007 and MS Access 2007. I can open MS Access 2007 using the shortcut on the desktop and run any of the database queries. When I try to run the Visual Basic program (called prjPathfinder) and open Access 2007, it says "Error 5: The type initializer for prjPathfinder.Upgrade Support threw an exception". It then shows the first form in prjPathfinder but does not open Access 2007. What am I missing?

View 3 Replies View Related

Aggregate Function In MS Access Does Not Work In Budget Program

Aug 3, 2013

I am trying to prepare a mini budget program in ms access for my personal use in my office , but every time i fail to do so, my tables are as under

Field Name Properties
Code ID AutoNumber
001 Cash
002 Bank
846 conveyence
dt: Date/time
Code text (list selected by drop-down list)
des Description
Bill currency
yearly Budget currency
quartlyBudget currency

Query Question:

Group Aggregate function in my Budget data base file

(A) (B) (C) (D) (E)
Code yearlyBudget quaterlyBudget quaterlyused Budget Available Budget
846 50000 12500 5000 7500
850 100000 25000 20000 5000

There are 100 entries in code no. 846 and 50 entries in code no.850 the above given amount is total of each code no.

My question is that how can i get result subtracting amount in column (D) from column (C) to get result in column (C)

Budget Available: in Code 846 i.e column (E)

View 3 Replies View Related

Program Working In Access 2007 Not Working In Access 2010 Due To Missing OCX File

Dec 27, 2014

I have a program that runs under access 2007 that I use at my work. We will soon be updating to MS office 2010 and the program will not work now because a calender file .ocx was removed from access 2010. Is there a way to get the 2007 .ocx file to work in access 2010?The program I am using is a relatively simple stand-alone and unsupported app that we use to request patient arrival and departure from various radiology tests inside a hospital. No reports are made from the app other than the number of patient transports for the day.

The app is placed on a common drive accessed from any pc in the hospital. No special permissions are required. But our app does use the calendar, time and date functions in access 2007. When I tried the app on a pc with access 2010, it basically says it (access) cannot open the app because a .ocx file is not present.Is there a way to make the access 2010 calendar file work in access 2007?

View 1 Replies View Related







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