Major Prooblem Opening Access Database!!!!

Jul 12, 2006

I recently found a need to pass a message on to everyone that opened a certain access database. So in I thought the easiest way of doing this would be to use the startup page & macro on the Northwinds Sample Database that comes with access.

However, I kept getting an error because the ok button was pointing the main switchboard which doesnt exist on my database, so I tried deleting the following to see if it would sort the problem: -

' Closes Startup form.
' Used in OnClick property of OK command button on Startup form.
DoCmd.Close
DoCmd.OpenForm ("Main Switchboard")

Now I think I've made things a whole lot worse. When I opne the database I get that first startup form and of course the button doesnt work and everything else is disabled.

I could really do with some help on this one.

Thanks,

Marc.

P.s. Cracking forum guys, if it weren't for places like this people like me would be in a whole world of ****!!

View Replies


ADVERTISEMENT

Opening One Access Database From The Other

Dec 28, 2005

Hello everybody,

I have a question.
I have a button on a form.
When I press that button, another database should be opened.

I tried this:

Dim dbMyDB As Database
Dim rsMyRS As Recordset
Set dbMyDB = OpenDatabase("C:DocumentenJohnnyStyle_be.mdb")
Set rsMyRS = dbMyDB.OpenRecordset("nslArtikel", dbOpenDynaset)

But it didn't work.

Thank you very much in advance...

View 3 Replies View Related

Problem Opening Access Database Twice

Jan 8, 2007

Hi There

Im probably being thick, but...

ive just upgraded our sales database from access 97 to access 2002. everything is fine apart from when i try to open the database twice on one machine - it wont allow this. In access 97 this was allowed and i normally had atleast 3 databases (all the same database) open at once.

is there an easy answer??

many Thanks

Neil

View 1 Replies View Related

Problem Opening Database With Access Runtime

Oct 9, 2007

Hi

We have an access database which 3 of us use at work.
All 3 pcs use access runtime to modify the database records
The problem we have is that when you try to open the database with pc3 it just does nothing if pc1 or pc2 has the database open. So we both have to close it and let pc3 open it, then we have to reopen it.

Has anyone else encountered this problem?

The pcs are all configured the same way, are the same model with the same Windows XP Pro image on them.

Help please?

Thanks

Paul

View 14 Replies View Related

General :: Opening Access Database From Batch File Or VBS

Dec 20, 2012

Is there a way to open an Access Database from a batch file or VBS file wait for 20 seconds and then close the Access file. Preferably I would like the Access file to run in either invisible or minimized mode. I would like the Access Database to close again after the 20 seconds has elapsed.

(The reason for this is so that the Database can refresh itself from Sharepoint on another users machine so that the excel reports on his machine are up to date).

View 3 Replies View Related

General :: Opening Access Database In Code As Read Only

Jul 30, 2013

I am trying to open up an Access database as read-only from another running Access database. The code I have to open the database currently reads:

"""C:Program FilesMicrosoft OfficeOFFICE11MSACCESS.EXE"" ""f:commonpattyTraining Database.mdb", 1)

How do I change to read only?

View 3 Replies View Related

General :: One Button To Close All (Opening Access Database) On Server

Oct 14, 2014

Everytime i want to make some changes to my "Testing" Database , always got somebody using it / opening it...

I am trying to create a button , the function of the button is close "Testing" access database who using it or opening it , Example : 5 users included me in a company , when I click a button , 4 of them will received a notification with close "Testing" database message , can do that ?

View 1 Replies View Related

Error When Opening Database - Cannot Access Data To Make Changes To Scripts

Feb 12, 2013

When I launch my Database file, it would normally run some scripts (I don't actually know what they do, the file is not used by me, only colleagues).

Instead i get this error:

The expression On Load you entered as the event property setting produced the following error: Object or class does not support the set of events.

When I click 'OK' another error appears:

The expression On Timer you entered as the even property setting produced the following error: Object or class does not support the set of events.

Once i click 'OK' on this error, another error sometimes occurs:

The expression MouseMove you entered as the even property setting produced the following error: Object or class does not support the set of events.

But strangely enough the third error doesn't occur every time i move the mouse.

After these errors have been closed, all i have is my 'form' with a loading bar. I cant access the actual database. Nor can i get into the Visual Basic to try and find the cause. This is happening to multiple clients of mine, and me personally.

Running Windows 7, Server 2008 (64bit), Windows 7 (64bit)
Running Access 2007 and Access 2010.

I have tried changing permissions on the file, this doesn't work.

View 2 Replies View Related

Modules & VBA :: Determine File Format Without Opening Database (Using Access 2007)

Jul 15, 2014

Using Access 2007, can I return a value for CurrentProject.FileFormat WITHOUT opening the database?

I'm looking for a way to determine the file version of a given Access database without actually "opening" the database in Access (I don't want it to ever be visible at all or in any way).

So to open a database in Access 2007 "without opening it," I'm using:

Code:
Dim db As DAO.Database
Set db = DBEngine.Workspaces(0).OpenDatabase("C:Path-ToFile.accdb")

From here, there are at least two different "version" indicators that can be used, as in this example:

Code:
Debug.Print db.Properties("Version").Value
Debug.Print db.Properties("AccessVersion").Value

Now, if you run this code on an Access 2002/2003 .MDB file, you will get:

Code:
4.0
09.50

If you run this code on an Access 2007 .ACCDB file, you get:

Code:
12.0
09.50

Note two important factors:The db.Properties("Version") seems to be returning the JET version from what I can see in research. This is NOT what I'm after.

The db.Properties("AccessVersion") returns THE SAME VALUE for an '07 ACCDB as it does for an '02-'03 MDB, since Microsoft never updated it, apparently.

Now.... the one way that I have found that ACCURATELY describes the version of a given access database file is to use:

Code:
Debug.Print CurrentProject.FileFormat

...as this will always return, for example, 2.0 for an Access 2.0 .MDB file; 10 for an Access 2002/03 .MDB file; and 12 for and Access 2007 .ACCDB file (and there are others; these are AcFileFormat bitmask constants as described in Access support).

BUT, this CurrentProject object doesn't seem to be available (so far as I can see) when using the "open without opening" method described above.

SO, is there any way to return the FileFormat value without opening the database visibly? (Merely basing it in the extension isn't right either.... that would be easy but not accurate as several formats use MDB.

View 5 Replies View Related

Access Database Without Opening Access First

Jul 20, 2007

I'm wondering if there is a way to open an access database (ive started with a microsoft template for an inventory management database) outside of the access environment. I'd like the program to run more like a .exe file rather than a database, but still having the links to and the functionality of the microsoft database

is this possible?

View 2 Replies View Related

Opening An Access Program Without Opening Microsoft Access

Jun 11, 2007

I am very close to completing a DB Program.... How can I create a desktop Icon that will Launch my Program without Loading Microsoft Access along with it???

View 6 Replies View Related

Opening Forms Directly (instead Of Opening MS ACCESS)

Apr 20, 2006

Hi All,

Is there a way that when the user clicks on a database file, the form pops up without opening MS Access window.

Thx,

Jatz

View 1 Replies View Related

Opening Forms Directly (instead Of Opening MS ACCESS First)

Apr 20, 2006

Hi All,

Is there a way that when the user clicks on a database file, the form pops up without opening MS Access window.

Thx,

Jatz

View 6 Replies View Related

Forms Count Of Other Database Without Opening That Database Physically

Oct 7, 2005

Hello All...

Well, I am facing one problem..in my application; I need to show all forms / reports name of other database( .mdb ) file without opening the other database physically. I tried a lot but didnt succeded. I tried with below code..

Set AcApl = New Access.Application
Call AcApl.OpenCurrentDatabase(strfolder, True)
Set AcProj = AcApl.CurrentProject

Set frm1 = AcProj.AllForms

intCount = frm1.Count

But here wen the second line AcApl.opencurrentdatabase get executed at that time the database get open physically, and i dont want that..So is there any other way around..If so..please please help me..

Thanks in advance..!!

View 4 Replies View Related

Help ... Major Boo Boo

Oct 3, 2006

I've just made a major mistake....


On messing about with my start up settings i have managed to lock myself out...!!! what a ****!!

how do I / where do I look to reverse these??

Please help

View 7 Replies View Related

Major Problem

Aug 14, 2005

Platform: Windows XP - government network
The government recently went through a migration of all networked directories to a central repository -- that was in June. I recently discovered that one of my database users, who happened to be working from home that past month, was not migrated properly.

Problem. The home user was still entering projects into the non-migrated location, while the users at the office, are entering data into the new location. Therefore major information is not showing up.

Need to urgently pull the project data into the current database.

But, I cannot simply import this data because it will wipe out the data I've entered into this table.

Any ideas would be greatly appreciated. Thanks in advance. Barb

View 4 Replies View Related

Major Crash - Please Help!!

Jun 14, 2006

Hi all,

Yesterday my database crashed. It is the 'DEV' version for my application - so all of the current fixes/changes are in there and I have forgotten to backup!

It crashes when ever I try to enter the VBA editor, or build code. This occurred after a minor problem running some code (I forget which code).

Here is the error signature -

AppName: msaccess.exe AppVer: 11.0.6566.0 AppStamp:42cdb33e
ModName: vbe6.dll ModVer: 6.4.99.72 ModStamp:40b29ba6
fDebug: 0 Offset: 0008baa8

The same occurs when I try to get into the code builder in the repaired version access generates...I have also tried using compact & repair to get in - but still no joy.

Can anyone offer any advice workaround to get this up and running again?

Cheers

Robert

View 1 Replies View Related

Need Major Form Help!

Aug 28, 2004

I'm trying to write a database for work (accounting firm).

I would like to start out with about 5 tables.

1) Client Information: Would include name, phone, etc and a
field that stated what kind of client (F/S or Tax).

2) F/S Tracking: Would include name and date in, date started,etc.

3) Tax Tracking: Would include name and date in, completed, submitted to gov.

4) Employees: the names of the firms employees.

5) Job Jar: Would include employee name, and which client(s) they should work on.

What I need help with is the data entry form for the Client information.
I would like to have it so I only enter the Client Name once, and only once, and not only
will it update the client name field in the Client Information table, but the corresponding field in
the F/S Tracking table (if the client type in the Client information table = "F/S") and the Tax Tracking
table (if the client type in the Client information table = "tax").

I have tried to use an update query that runs when the Client information form is closed but I think I might be doing it wrong, because I always get the message that 0 (ZERO) records will be updated.

Any help would be appreciated.

Thanks
Mitch Miller

View 3 Replies View Related

Major Problems With Email!!!

Sep 30, 2005

Hey guys,

This is my problem!! I have created a Macro, using sendobject to send an email once the database has been opened. The email is to contain a copy of a report which i have specified in the macro.

On opening the database, a box appears with "Microsoft Office Outlook" on the top. The box says:

" A program is trying to automatically send email on your behalf.
Do you want to allow this?
If this is unexpected, it may be a virus and you should choose no."

Then there are three buttons with yes, no or cancel on the bottom.

First question is why is this appearing and is there a way around it, and secondly, when i click on yes, i dont recieve an email and no buttons appear on my switchboard!!!

Any ideas guys??

View 1 Replies View Related

Major Logon Problem

Oct 7, 2006

I use MS Access a lot for my work but a few days ago when I opened Access it asked for a username and password. I didn't set anyway passwords so tried to log on using the username: admin and a blank password which didn't work. I have tried every username and password combination that I could have used but nothing seems to work.

Is there anyway for sorting this out so that I can use Access again?

View 1 Replies View Related

Major Performance Issues

Apr 8, 2008

Hi there,

I am having huge performance issues with a FE/BE split. As a background, I have the following Table layout.

http://img357.imageshack.us/img357/7374/diagramjv9.th.gif (http://img357.imageshack.us/my.php?image=diagramjv9.gif)

In basic terms, the contract table has basic contract info, resources can be assigned to a contract (via the Assign table) and we feed in exchange rate info also from another table.

Everything is so slow as soon as I put the BE on a share drive. I have done everything I can think of, I have changed to tlookups, I have changed the Auto options as recommended, analyse shows no issues, compacted the DB. It is unusable!

I notice on one form that it takes 1 second to calculate a field. The field basically uses a tSum to find the total cost of a contract (looks up assign to sum up all the attached resources). This seems to slow it down, but it does not explain the huge time it takes to load up.

I am considering that the issue may be down to the share where it is being located has too high latency (it is in another country, and it feels slow browsing through it)

Any other general ideas, or do you need more info?

Thank you.

View 6 Replies View Related

Major Duplicate Record Problemo

Mar 6, 2007

Hello Forum,

I have a problem with duplicate records in my query. I know why the duplicate records are occuring and I have spent a ridiculous amount of time trying to fix the problem, but I'm really at a lost and am quite desperate for some help.

Here's some background info that shows the cause of the problem:
I have two tables. In the first table (tblMainData), there are three columns of interest (P1, P2, & P3). The second table (tblGroupList) has two columns (PN & GroupList). A relationship exists such that the data in "PN" is parital-text values of the data in columns "P1", "P2" and "P3".

For example, "P1" in tblMainData may contain "A1235XX". The "A1235" is what's important, so that's one of the values that I have in "PN".

Continuing, I have a user form that uses the "GroupList" field as the RowSource for one of my combo boxes (cboGroup), and this field contains an (ALL) option. So, when a value is selected from cboGroup, I use the following Criteria filter
Like [PN] & "*"
in my query (qryFilterGroup) to look for those partial text fields that match what's in fields P1, P2 and P3. The results are then shown in a subform.

Here-in, I believe, lies the source of the duplicate records. In my userform, if "(ALL)" is selected under the cboGroup combo box, a new record is created for each field P1, P2 and P3 in tblMainData that contains data and that is related to the partial text matching Criteria. A new field is created because each field corresponds to one of the values in the "GroupList" field.

This is really difficult to explain, and I don't really know if I should continue without writing a book. If someone or someone(s) could be so kind, please have a quick look at my attached database as it's obvious to see my problem. Any help is greatly appreciated!!

View 3 Replies View Related

Database Not Opening

Sep 27, 2005

Hello,

I have been working on a database back and forth and home and at work. Today I saved my database from home and onto my computer at work. The database is not opening here at work. It works fine at home. When I attempt to open it, it tells me Access has encountered a problem and needs to close and it closes.

I tried the Compact and Repair.. Access still shuts down on me. I made a new empted database and tried to import the tables and forms into it.. Access still shuts down on me.

It's getting frustrating because I've been trying to get this working for 3 hours now with no success.

View 5 Replies View Related

Opening A Database?

Aug 9, 2006

Here's a little problem I have and wondered if anyone knows a way around it.

I currently have many databases that I have created for work and they are quite happy running away doing what they are meant to do on a 2000/NT setup, we will soon be switching to our parent company's network 2003/XP/Citrix which is presenting me with the following problem and we do not have any control over how this is run.

We can no longer create desktop shortcuts to the databases as current, they will place 1 database in the start menu and would like this to be used as the database menu so that all databases are launched from this.

So I am trying to launch access databases from within an access database (Access XP), here's what I have tried so far

Shell - works when I use full MS Access but does not work in Run Time versio n which is what the users will access, shows no error, it just beeps and does nothing.

SendKeys - %fo<FileName>.mdb~ - again works in full access but not in Run Time as RT does not have 'open' in the file menu.

FollowHyperlink - this actually works but I can not get this to open the new database as a full screen window, this requires the user to either run everything maximized (not ideal as some forms are designed to run side by side) or for them to resize the main forms.

Are there any other ways to open a database from within access RT version that will open the access application full screen?

View 5 Replies View Related

.MDE Database Not Opening

Dec 15, 2004

A ex-coworker created a .mde database, but didn't save the .mdb version. The .mde version has been working fine, but today it closed when the end-users tried to open it. It looks like it tried to open the start up form, but it closed. I was able to get into the database and launch the second form, but the start-up is the issue. What could cause the start-up form to keep the database from opening?

Tawain

View 2 Replies View Related

Database Stuck On Opening

Jul 16, 2005

The problem: I have my database set to open a form on start-up. On opening that form I put in a command for a message box. When I click OK on the message box it tries to open the form again which leads to the same message box. I need to somehow get to the design view on start-up. Any help would be appreciated. Thanks Bob

View 1 Replies View Related







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