Run A Function Every Minute While A User Is Inside Of An Access 97 Database?

Aug 19, 2004

I am using a Access database with a frontend/backend design. I want to keep a table in the BE updated with the current list of users inside of the frontend. To do this I thought that I would just have the front end update a time field saying that that user is still inside of the FE. My question is two-fold - firstly, how can I run a function every minute or so to update this table.

Secondly - is there a better way to do this?

Thanks in advance for any help you can offer.

View Replies


ADVERTISEMENT

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

General :: Access Multi User Database - Error On Only One User

Apr 24, 2013

I have a multi user database in Access 2000 that is on a server. The individual users have shortcuts pointing towards the server instance. One user and one user only when opening the shortcut gets the error "you do not have exclusive rights to the database" .

All other users can enter the database with no error box. I have checked the advanced setting under options and they are correct. Ironically if you go to start and open access then navigate to the database shortcut. It opens with no error.

View 1 Replies View Related

Using Access's User And Group Accounts Or Using A Login Form To Access Database?

Sep 9, 2005

Using Access's User and Group Accounts or Using a Login Form to access database?

I've been researching on how to make a database secure. How to create User and Group Accounts on access, I see the step by step instructions and tried it out myself.

I also saw some sites where they give an example of a Login Form and how to create one.

My question is do you need to create both. First create the users and groups to permit or deny access to certain forms and then have a login form?

But would that mean that they'd have to login twice? Once when the database opens because it activates the db security that was created and then login again in the login form that was created?

Also when the user logins in and clicks on the cmd button on the form which opens up another from, frmWorkLog, I have an Employee field. This field I want it to have the user's name entered automatically and "locked". So that info, employee name, is extracted from the user's login. So then the user can only see his or her records only and no one elses.

How would I go about creating that. Hope I made my explanation clear.

Thanks in advance.

View 3 Replies View Related

Locking User Access To Database Objects (MS Access 2000 And 2003)

Apr 15, 2007

I have two database applications and they are:
- the (A) application is for administration use.
- the (B) application is for normal users use.

the idea is that: I made the (A) application for administrators who have full control over the database objects (tables, forms, queries, and so on ...).

the (B) application I have created for normal users who will have only to use forms to insert some data and display data only.

but the two applications has a respective table called "vacation request" table. where I linked them, so the both administrators and users can share the data.

The real question is that: How can I prevent the users from seeing the database objects in their application. I used the database options which have helped me in hidding the database objectives when the users open the application, but unfortunately they managed to access to the database objects by pressing the special keys.

I would like to have an access to the (B) application when I want to make some modifications to the forms and then lock it from users where they only have to use the forms for requesting vacations and view the vacations.

View 1 Replies View Related

Setting Up User Accounts To Access A Database

Apr 18, 2006

I've created a database and I now need to set up user accounts for access to it, so that I can restrict who has read only and who has write only permissions.

I've done this before and never had a problem! But this time, whenever I try and create a new account, the following message is displayed:

Cannot update. Database or object is read-only.

Can anyone help as to why I get this message and what I can do to stop it! Whilst it does this, I can't create any user accounts.

Any help would be appreciated!!

Thanks in advance

View 1 Replies View Related

Problem With New User In Group Access Database

Jul 25, 2007

We have added a new user, following the steps that we always follow, with no probs upto now.

He's showing in the list of users with membership of the correct groups.

However when trying to login with his username and password although it looks like it's accepting username and password as normal and database begins to open we then get the following error message

"operator has not been found call administrator"

and the database closes

Any ideas?

Many thanks

View 1 Replies View Related

General :: Multi-User Database Access?

Sep 10, 2013

I created a database for multiple users, it seems only one user can be in database at a time. Is there a property that allows multiple users to simultaneously use database. My record locks property is no. Is there some other property that needs to be set ??

View 7 Replies View Related

How To Make Multi User Access Database

Jul 18, 2012

i have build a single user application in access 2010. now i want to build multi user application and want to deliver to end user.how can i make my all vba code safe from end users.

View 3 Replies View Related

Automate Mail Merge Function From Access Database

Apr 23, 2013

I have a database, i need to automate mail merge function from access DB to insert selected records into the merge fields, i have tried everything i could and i have searched through out the web nothing really works for me.

View 1 Replies View Related

Using The Left Function Inside A "NOT LIKE" Comparison

Jun 29, 2006

Hi, I'm trying to compare 2 name fields to see if the last name of one field is found in the last name of the other field. In table A, the name is stored as LastName, FirstName. I've used the Left and InStr function to extract the last name successfully.
In Table S the name is stored as separate fields, Lastname and Firstname.

In a query I am trying to determine if the last name from table A appears in the last name field in table S

(s.lname Not Like '*Left([a.name],InStr([a.name],",")-1)*')

the problem I think I'm encountering is that I want access to see this statement as:

(s.lname NOT LIKE '*JOHNSON*') instead of searching for the Left function string

is there any way to put the value of the function in there without actually searching the function literally?

I tried [ ] and that didn't work.. any ideas? thanks!

View 6 Replies View Related

Keeping Background Notes Inside The Database Wrapper

Mar 21, 2006

Is there are facility which enables me to keep something like a Notepad text file safely inside the mdb wrapper.

I want to keep notes on what is going on in the database, state of development, reasons why certain decisions have been made, purpose of certain columns (but not as restricted as can be done in Table Design View), instructions for users or developers, or myself, etc, INSIDE THE mdb wrapper.

If I keep these notes in a separate notepad file, it will not go automatically with the mdb file when it is moved, or renamed; or it is not clear where it belongs in case there are different versions, etc.

Is there some provision for this in Access?

Thanks.

Adrian

View 2 Replies View Related

General :: Automatically Update Data Inside Database

Jun 30, 2014

I have data in all sorts of tables and databases that are linked together through different systems. I'd like to update some of the information automatically in the evenings or in the middle of the night without needing someone to push a button. Is there a way to do this?

View 9 Replies View Related

Multi User Access Database Performance Issue.

Jul 4, 2005

We are encountering severe performance problems when running our access database on our Network.

Symptom:

Huge drop off in performance when 2nd and subsequent users refresh links to chosen back end database. If the database is opened by another users front end database.

Takes up to 10 minutes to refresh the links to 120 tables in Back-end MDB database.

The system is designed as a split front and backend Access database. The back-end Data MDB database is located on a Windows 2000 server.

The first time a user logs on they are required to locate and Re- Link the tables from the back-end database which holds data for the current year. If they wish to work on another year they re-link the tables from the relevant back end database.

When running locally the Front end takes between 5 and 10 seconds to refresh ALL the links to around 130 tables.

When the back end is on a network drive the process takes about twice as long. But is still quick.

If another user has the file open via their own (locally held) front end, then the refresh link process takes between 5 and 10 seconds PER TABLE !!

This means that that it takes up to 10 minutes to complete the re-link.
Same behaviour if using Linked table Manager or refresh links using code

As soon as second user logs out of database the refresh link process speeds up.

The behaviour has been observed on a variety of servers and customer networks.

General data access is also much slower after 2nd user - but just about bearable. Data files are small – few records – occupy 7mb on disk.


Development Platforms – Windows XP / 200 clients, Windows 2000 Server hosts the back end database.

Front end is Access XP (MDB or MDE File) with al the latest service packs and security updates installed.

We have experienced this problem with a number of different systems running in various environments. But this wasn’t a problem with the old Access 1 database

HELP! Access should be able to support 10 – 20 users - we can barely run 2!

View 4 Replies View Related

General :: Make Warning Pop Up When User Tries To Access Database?

Feb 5, 2013

How can I make a warning pop up when a user tries to access a database that another user is already in??

View 13 Replies View Related

Selling Access Database - How Do I Ensure User Has Valid License?

Feb 24, 2008

I am developing an Access database, and using the Access 2007 Developer Extensions to "compile" it into an installable program which includes the freely distributable Access 2007 RunTime, for users who don't have it already installed.

I am planning on charging a subscription fee to use my Access database. Are there any existing method for handling making sure the user's subscription is still active, and if not, either locking them our or preferably making everything read-only? If there aren't any existing methods anyone can point me to, does anyone have any ideas?

I plan on being the person who installs the application the first time, however I'm sure instances will come up where I instead mail the user a CD for them to install.

Regardless of whether I complete the first install, I'm not interested in going to each users' location periodically regarding the subscription.

I'm more interested in going the route of the user typing in some type of registration code, which is validated for read/write access for a period of time.

I don't want to rely on the user having an internet connection, but if they had one, I could certainly go the Microsoft model (try internet verification, if it goes wrong or there isn't a connection, have user call in.)

View 2 Replies View Related

Using MySQL BackEnd With Access FrontEnd For Multi-User Database

Mar 31, 2015

If I want to distribute a front end to connect with a MySQL back end ... do I need to set up the system DSN on each workstation that will be using the front end?

View 4 Replies View Related

Create Help File Inside Of Access

Oct 6, 2005

I created a help file in access that lets you have text mesasge up to 1024 chars. Just press F1 key on any control that you have setup to bring up help message.

Does any one see any problems with the way I did this?




Form
Help File: = ""
Help Context ID: = 0

For each control on the form where you would like to have a help message do the following.
Form
Control
Help Context ID: = Set to one of the help index numbers in the help table.

Add KeyDown Event to the control

Private Sub Text0_KeyDown(KeyCode As Integer, Shift As Integer)
'Add this line
KeyCode = DisplayHelp(KeyCode, Me.ActiveControl.HelpContextId)
End Sub



module

Function DisplayHelp(KeyCode As Integer, HelpContextId As Integer) As Integer
Dim dbs As DAO.Database
Dim rstRecords As DAO.Recordset

If KeyCode = VBKeyF1 Then ' 112 = F1
Set dbs = CurrentDb
Set rstRecords = dbs.OpenRecordset("SELECT tlbHelp.Index, tlbHelp.HelpMessage " & _
"FROM tlbHelp WHERE (((tlbHelp.Index)=" & HelpContextId & "));")

With rstRecords
If .RecordCount > 0 Then
Call MsgBox(!HelpMessage, vbInformation, "Help")
End If
End With
DisplayHelp = 0 ' Clear KeyCode
rstRecords.Close
Set dbs = Nothing
Else
DisplayHelp = KeyCode
End If
End Function



Create Table and Fields

Table Name: tlbHelp
Field Name: Index as Number
Field Name: HelpMessage as Memo
Field Name: FieldName as Text
Field Name: FormName as Text

How type in custom number and message for each help message.

View 2 Replies View Related

Run A Macro In Excel From Inside Access?

Sep 2, 2012

I've been opening comma delimited files in Access, used an Excel function to re-save those files in .xls which Access readily understands, then opening said files and running a query on them to organize them. Now the file needs to go to Excel where it is entered into a worksheet with a certain heading.

Problem is when opening the .xls converted file in Excel, no macros show up. If I open a blank worksheet in Excel my macro shows up. I lowered the security settings to the most basic level in Excel. How do I make the macro show up in the file opened in Excel through the Access VBA, so I can run it?

View 14 Replies View Related

How To Reduce Minute From Date Field

Aug 1, 2006

Hi
I want reduce one minute from my date field. My date field looks like this: 17.3.2006 3:57:00 and I want it to look like this:17.3.2006 3:55:00. I have tried to make it like this: DATEADD( minutes, -2, [StartTime]) AS NewStart. StartTime is date field. But this doesent work. Could somebody tell me how to reduce one minute from date field??

View 2 Replies View Related

General :: Aggregation Over 5 Minute Periods

May 6, 2014

I have several pieces of equipment that register data every minute, is there a way to do like a 5 minute average

i.e., 00:00 - 00:04, 05:00 - 09:00

NOT 00:00- 05:00, 01:00- 06:00 and so on.

View 1 Replies View Related

Forms :: Convert Minute To Short Time?

Jun 22, 2014

i have a problem i have field contains (minutes as number) like 5750 i want to convert thes minutes to short time hh :nn to be 95:50

View 3 Replies View Related

Access 2010 Multi Info Inside Field

Jul 5, 2013

I Need After I Choose For De Code 2355.

The Field Show 2355 INTEL DH77EB MOTHERBOARD.

View 3 Replies View Related

Looking For Sample Databases Provided Iwth Access 2003 Inside Out

Jun 24, 2006

Dear Friends,

I am a naive in access and really looking for some mentor to help me learn quickly

I am presently going through a book Call "Microsoft Access 2003 InsideOut" I dont have the cd so thus missing the sample databses discussedin the book.

If anyone can provide me with this data base then it would be a great help

Thanks
Sunny

View 2 Replies View Related

Modules & VBA :: How To Access Description Inside Form Error Event

Jul 31, 2013

I'm trying to extract information from Err.Description within a form's Error event. Alas, Err.Description does not seem to be available from there.I have a form that normally displays in DataSheet view. If a trigger on the Oracle back-end raises an error, I want my Access app to be able to parse out Err.Description and deliver a more user-friendly message than ODBC's message. I want to get the info about the message from the error coming back from Oracle, not by matching up error codes.

If I change the form to Single-Form view and put a Save button on it, I can capture Err.Description in the command button's Clicked() event, and then parse out what I need.So if I must display this form in Datasheet view, where can I trap the ODBC error and display my user-friendly message?

View 5 Replies View Related

Forms :: Form Opening Inside Access Window In Background

Apr 8, 2015

I have three forms:

Form_A (main form for the application - should always be open)
Form_B (always open, but sometimes has visibility set to false)
Form_C (opens from button on Form_B)

When I press the button on Form_B, the only code behind it is DoCmd.OpenForm "Form_C". This seems to hide Form_B, and open Form_C behind Form_A (which is the main form of the application) inside of an Access window.

I would like Form_C to open in front of Form_B. I suspect that I set up the form incorrectly or something when I created it, and it is therefore opening inside an Access window.

View 1 Replies View Related







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