I have encountered several problems with my Access 2000 application on the server at work within one day, and I am very frustrated. Your help is greatly appreciated! Please....
1/ Sometimes, ALL the tables and queries disappear from the database. I checked everything, nobody hide the objects. Do you know why? I even import new tables to see if those appear, they still do NOT show?? I even created blank database, try to import those tables "hidden", it promped need to be repaired it, then I looked back the original database, the tables re-appear; however, later on, it does have error, prompted "NOT a valid bookmark"?? When I add new records thru the form, it has the word "#error" on every fields....
2/ Some users can open, some can NOT open the same database on the same server. For those users can not open, the errors varies. For examples: it prompts that the "database needs to be repaired," after clicking "Yes", it prompts, it "could not open the database" OR "The database has been placed in a state by an unknown user that prevents it from being opened or locked" eventhough nobody open exclusively!! OR "The table 'MSysAccessObjects' is already opened exclusively by another user, or it is already open through the user interface and cannot be manipulated programmatically."
Have you seen any errors stated in 2/ in RED above. What should I do??
how to change Access default error messages with custom messages? Like, if I enter some data in a sub form where the parent form is empty new record, default error message says that 'You must enter a value in the 'column name' field'.
I want to disable this default message and display my own error message. Now I know MessageBox and MsgBox fuctions to display custom messages, but how to disable the default message.
Is there any resource that gives a definitive run down on all the errors that can exist within access; their causes and solutions. For example; the enter parameter msg box that appears when it doesn't recognise field value.
I am an A-level ICT student I am creating a database system for my year 13 coursework and was wondering if there is a way to edit the error messages which appear when an input mask is not followed correctly and such. Any help would be much appreciated. Thank you.
We keep having this error message when a group of our users try to open a MS Access 2000 application resides on a Netware server. "The Microsoft Jet database engine could not find the object 'MSysDb'. Make sure the object exists and that you spell its name and the path name correctly." Have any one seen this error before? How to solve it please! Please advice.
Once in a while, the Access 2000 application on our server has this error below:
The database “network pathdatabasename.mdb” needs to be repaired or isn’t a database file. You or another user may have unexpected quit Microsoft Access while a Microsoft Access database was open. Do you want Microsoft Access to attempt to repair the database.
I tried to click the "OK" button to repair it, the first several times, it keeps saying that my computer name was using it so it could not been repair. I even re-boot my computer several times, still can not repair. The next day, I tried to repair it again, it ran about only two-fifth at the status bar, and the "Program Error...MS Access has generated errors and will be closed by Windows. You will need to restart your program. An error log is being created" keep popping up, so I could never repair the file.
Does anybody know WHY it happened and HOW to prevent it from needing to be repaired?
I'm working in Access 2000 for the first time and all was well until I introduced a wizard-created Switchboard. I created the Order Entry database using the Access wizard and copied the Switchboard form and tables into my database.
Since then I keep getting the following message:
"Error accessing file. Network connection may have been lost."
I've Compacted and Repaired but still keep getting the message. Does anyone have any ideas what's going on?
I got the following code from this forum to create shortcut on the desktop.. ================== Set objShell = New WSHShell Set objShortcut = objShell.CreateShortcut(objShell.SpecialFolders("AllUsersDesktop") & "" & sShortcut) objShortcut.TargetPath = sDB objShortcut.WindowStyle = "3"
objShortcut.SAVE ================= I have Access 2003..but file format is 2000 because others have access 2000. This code works great on my machine..but getting error on access 2000 machine..It does not recognize "New WSHShell" in the above code.
-------------------error message Compile Error: User-defined type not defined -------------------
I have a table that imports data - including date of birth. the format is dd.mm.yyyy - the db keeps throwing up the error - Birthdate must be 8 digits. The only validation I have for the field is "<date()" to ensure that a future date is not entered.
Hi guys i tried to run this create table statement and each time i get syntax error. I pasted the code in sql view windows of access 2000 and pressed the run code and i get this error massage saying there is syntax error. Could any one help me write correct create table statement that does not give me this error.I know u might tell me why u do not create table in design view or .. but i want to do this since i want learn this method as well.thanks
CREATE TABLE PLAYERS (PLAYERNO SMALLINT NOT NULL CHECK (PLAYERNO >0), NAME CHAR(25) NOT NULL , INITIALS CHAR(5) NOT NULL , BIRTH_DATE DATETIME, SEX CHAR(1) NOT NULL , JOINED SMALLINT CHECK (JOINED >=1980), STREET CHAR(15) NOT NULL , HOUSENO CHAR(4), POSTCODE CHAR(6), TOWN CHAR(10) NOT NULL , PHONENO CHAR(10), LEAGUENO CHAR(4), PRIMARY KEY (PLAYERNO) )
Hi guys i tried to run this create table statement and each time i get syntax error. I pasted the code in sql view windows of access 2000 and pressed the run code and i get this error massage saying there is syntax error. Could any one help me write correct create table statement that does not give me this error.I know u might tell me why u do not create table in design view or .. but i want to do this since i want learn this method as well.thanks
Code:CREATE TABLE PLAYERS(PLAYERNO SMALLINT NOT NULL CHECK (PLAYERNO >0),NAME CHAR(25) NOT NULL ,INITIALS CHAR(5) NOT NULL ,BIRTH_DATE DATETIME,SEX CHAR(1) NOT NULL ,JOINED SMALLINT CHECK (JOINED >=1980),STREET CHAR(15) NOT NULL ,HOUSENO CHAR(4),POSTCODE CHAR(6),TOWN CHAR(10) NOT NULL ,PHONENO CHAR(10),LEAGUENO CHAR(4),PRIMARY KEY (PLAYERNO))
Hi to all. I need to modify some existing error messages in my form so that I can create messages that will be more user friendly. I know that it is possible but searching for this issue was a bit confusing. How do I do this?
OMG - I've have spent what seems like forever doing this database and I've opened it and it has listed the following saying that they are broken references and I must fix them but I don't even know what they are!
I have used a command button placed next to the project name box which if clicked opens up a finance details form for the project name box.
Problem is if that project does not have any finance details it still opens up the form but just comes up as totally blank.
Is there anyway i can get an error message to come up and say "No matching data found for this project" when they click the command button to open up the finance form, but there is no finance data?
I have tried but unsuccessfully.
I entered this code
Private Sub Label75_Click() On Error GoTo Err_Label75_Click Dim stDocName As String Dim stLinkCriteria As String
stDocName = "Contract Filtered"
If Combo22 = "" Then MsgBox "No Matching Data Found", vbExclamation
I have a very simple database I wrote a few years ago that provides reports on data (mainly calculating sums & percents on those sums). When run, the reports open form-dialog boxes that prompt for criteria. The dialog boxes then become invisible & the query accesses the data in the invisible form & allows the report to run.
What is the easiest way to have the program display error messages when 1. The criteria entered is not found 2. The form/dialog box has an empty field
Right now, the computer has an automatically-generated action failed message and the macro halts. These are confusing to the user.
One when a required field is set to yes - i want to change the error message to something more meaningful.
Two i would like to stop people enetering data into a sub form on the main form when there is no data in the main form? I linked them using the wizard.
So main product linked to sub form with productID?
I've validated some fields that users enter info into but can anyone tell me how I can change the message that pops up on the error message so that it is relevant to my system, i.e. is there anyway of personalising it? Please give me a simple answer, I'm not very good at using Access!
I have a database containing various linked tables and all has been fine for years. I now have to add some fields to the main table and change some field sizes. I know about the 255 field limit. And I know that an individual record cannot exceed 2K.
BUT, when I simply lower the size of a text field, (i.e., from 40 to 30), I get either the message Too Many Fields Defined or Record Is Too Large.
I've put an input mask into a table and would like to personalise the error message to give the user more information about how they should be entering the data correctly. I don't know where to start with this - can someone point me in the right direction??
Is there a way to disable the automatic error messages that occur when a user: 1. enters a letter in a number field 2. enters a date in the wrong format (should be MM/DD/YY and they enter MM//DD/YY, etc.) 3. clicks on a button that will open a hyperlink (Currently a message pops up to make sure the user wants to follow the link, by selecting "Yes" the hyperlink opens.)
I would like to add in my own error messages for the above errors but I don't know how to disable the system generated error messages.
my frist error message appears as soon as I create a new database. As soon as a I create the name and it opens the new database a message pops up that says "Error Loading DLL" does anyone know what this is? and will it create a problem for me?
Secondly, I have a database that will be used for employee Reviews so the fields I have are as follows: Key, Date, Time, Department, Employee, Topic, Explanation, and Supervisor. I want to be able to generate a report for each employee, however I am not sure how to use the wizard to create this. If anyone knows of some tutorials or report aids I'd love to get my hands on them!
I have written the following code for checking whether a query exists.
Code: Function QueryExists(strQueryName As String) As Boolean '---------------------------------------------------------------------------------------- ' Checks whether a query already exists '---------------------------------------------------------------------------------------- Dim db As DAO.Database Dim tdf As DAO.QueryDef On Error GoTo err_handler Set db = CurrentDb
[code]....
Here I try to intercept the error message in vain.
I have a database that currently has security in place so that users input their own usernames and passwords to access the database. The users have recently been added to a windows 2000 server and I want to be able to use their windows 2000 server logon credentials to provide them with automatic access to the database. Is there anyone out there who knows how to set this up? It is a rather urgent request if you could get back to me either on this forum or via email
I am opening and closing a series of Excel 2000 Workbooks using Access 2000 VBA and want this sequence to be able to complete without any human intervention.
However, there are 2 instances when this stops and waits for a human option to be selected:
1. When the spreadsheet is password protected 2. When the spreadsheet has automatic links I get the message:
"The Workbook you opened contains automatic links to information in another workbook. Do you want to update this workbook with changes made to the other workbook?"
How can I code it so that in situation 1 it skips this file and in situation 2 it automatically defaults to do not update?
If I have a report in MS Access 2000 generated based on the criteria selected of a project with work order "9999" with the labor costs, materials costs and the Totals of each crew1, crew2,... and I would like to have those expenditures populated in corresponding cel in Excel for each crew, HOW would I do it?
To think it out loud, could I create a button on a form, so when I select the criteria for the work order, and when I click the button, it should refresh/update the Exel file with the new data...?? How do I write VBA code for that...?