I apologize if this is already a thread, but I tried my best to search for it and nothing helped. Alright, I set up low-level security for my database using the security wizard and I was wondering if there is a way to track information (username, date/time, etc.) from the auto-generated logon window. I started out making my own login window, but I couldn't get my permissions set up properly, so I figured the given security measures would be best. Everything works fine, I just need a way to track the logins. Any help would be appreciated, thanks!!
Now I want to add permissions. So far I've gone through the very confusing security wizard and added myself and my boss to the list, but I have no idea what a workgroup is or anything. Also, how do I do permissions, like give myself full permissions, my boss almost full permissions, the secretary access to only certain forms and reports, etc.
And is there any easy way to log when someone logs in and out and what they did, etc.?
This attachment is an example of a loginID and Password system. Users DONT like to enter a loginID and a password. This example will get the user's loginID from windows and all you need to do is add their loginID to the admin table (or any other table for allowing users to have certain capabilities.) You can expand this to allow user's to certain forms or the ability to delete records, add records, etc. Just expand on the example with tables to do certain things.
It is much better to have a table which automatically determines if the user is in a Delete table or Admin table, etc...
I have a 2000 and XP version but I can't upload it due to limitations on upload size.
I use this technique quite often and find users like it very much as they don't want to re-enter their loginID or a password. I hope you also find it usefull. If so, please let me know.
I am messing with the user logins and groups. I got it to work on my computer but...It only works on my computer and with every database I open. No other computers get a request for a login and password and the file just opens up.
How can I get a nice login for people at our work?
I would like to create user logins for my Access database that I would use not to prevent opening or modifying various objects (tables, forms, report) but to use for identifying the user so that when changes are made the username and time can be logged for an audit trail. Is this something I should be able to do it Access 2000. If so, how would I get the current user's name to use in my logging process.
I have a sub form in a tabbed control that collects client income data. A subform of that [Tax table calc frm] calculates the tax payable and the following code displays the result in the [c1TaxMedi] and [c2taxmedi] fields on the income form. Private Sub Command122_Click() 'Calculate taxation on income [Tax Table Calc Frm].Form.Refresh Me.C1TaxMedi = Form![Tax Table Calc Frm].Form![Text58] Me.C2TaxMedi = Form![Tax Table Calc Frm].Form![Text70] End Sub
The problem is that when I put data in the clients wages field then click the command button I get an error message "Run-Time error-2147352567(80020009) The value you entered isn't valid for this field. When I go into debug the line Me.C1TaxMedi = Form![Tax Table Calc Frm].Form![Text58] is highlighted. If I don't do anything except close the debug window and return to the form the currency is display correctly in wages and if I press the command button again I get the tax to display without any errors. I cannot fathom what is wrong with this code to get this effect.
Help appreciated Thanks.
Ooops realised I've posted in wrong category, don't know how to move it.M apologies.
I have transfered an MS Access file to my PC from another, but when i try to open the forms in the database, an error occurs.It states that the path is not valid.
How can i correct the path? Do i have to define the path for each form, report an etc seperately?
Trying to make a shortcut to join the workgroup and open a Db.
I made a shortcut for a Db, the shortcut defalt target was: X:RC-OfficeRC_OFFICdatabaseProjects.mdb
I edited the target line to: /wrkgrp ”X:RC-OfficeRC_OFFICdatabaseMS Access Workgroup.mdw” “X:RC-OfficeRC_OFFICdatabaseProjects.mdb”
I get wrkgrp not vaid target. I put the mdb file path first, I get not vaid target for the path to the Db. I would rather not put in the whole MS Access program file. This is on a server that I don't know much about. Not sure I would get the program file right. Help?
I have a Query on four fields. They are all date fields.
I want to see any dates of the four fields that fall in the next 30 day range. So I want the query to be today + 30 days and if the dates of the four fields do not fall in that range I do not want the data to show up. Any more help out there.
I am making an application in Access where a number of image files are copied to a folder in the server. I need a way to find out whether the folder in which the images are being copied to exist so that a new directory can be created if it does not exist. Please help with a code to check for the validity of the existing path.
I tried to search the forums for an answer but I still can't seem to solve the problem. I receive the "Not a valid bookmark" error message when attempting to open my database. I have tried the compact tool through access and also jetcomp but it just brings up the same error message on access and says "error compacting database" on jetcomp. Can anyone provide a solution to my problem in order that i can either open the database or else retrieve data from it? Many thanks, any help appreciated Jon.
I have attached the database in case you have any software which might be of use.
one of the databases at my place has started acting really strange and was wondering if anyone knows what could possibly be wrong?
there's only one big tble holding about 7.5 k records with approx 10 fields
info that was entered yesterday has now been deleted (by access?) and when you scroll down or go down to the end records, all those records that were there yesterday now show either #error or #deleted and then an error popup appears saying "Not Valid Bookmark"
The UID doesn't appear to be working either, i.e it's not incrementing properly?
In a form named PRODUCTION there are 3 text box for invoice data: xtype, xserie, xnumber
I need valid this data from the INVOICE table, where its key is a compound key (TPINV+SERINV+NUMINV)
I tried with:
Private Sub xnumber_AfterUpdate() Dim searchinv as string searchinv=Dlookup("*","[Invoice]", [tpinv]="& Forms![production].[xtype] and [xserie]= &Forms![production].[xnumber] and "&Forms![xnumber] If searchinv ="" then MsgBox ("Invoice doesn't exist'") Cancel = True End If End Sub
I have a simple table with just 5 field. When trying to sort i get error message "the value you entered is not valed for the sort id". I get this for three of the fields.
It seems I've overstepped in setting up Users and Permissions, in MS Access 2007, on an .mdb. When I enter any of the user names and passwords I've created, I'm told that it's not a valid account name or password. I'm wondering how this could be possible since I'm staring at them in the Snapshot file.
My question is this: I can access the .mdw file as "Admin", is there anyway to unwind this mess?
I have created a text box for people to enter search criteria, e.g. customer surname. The results appear in a list box underneath. When I select the record it should open up the customer's details but in Access 2013 it produces an error "The value you entered isn't valid for this field". The first sub-routine pulls the search data into a Row Source:
Private Sub txtCustomerSearch_Change() On Error GoTo Err_txtCustomerSearch_Change Dim strSource As String strSource = "SELECT DistinctRow CustomerNo, [End Date], Surname, FirstName, Address1,
I'm creating a database with an Asset register which gives you a simple route to documents related to these perticular assets. My problem is when linking to Excel files. I use the FollowHyperlink method and reference to a Hyperlink in a row of the table. If this Hyperlink happens to be to an excel file (regardless of version) it generates an error stating "Reference is not valid". The odd thing is that the file opens, but is not maximised on opening. I have searched for weeks for a solution but can only find them for Pivot Table problems in excel.
My code is simply;
Private Sub FormName_ObjectName_Click() On Error Resume Next Application.FollowHyperlink [ColumnName] End Sub
This works fine for any file that isn't an excel file. So my question is, what's missing or what needs changing to prevent the error from appearing. I have tried different compatabilities but have had no luck. I also tried a function called GoHyperlink, but had no luck in Access 2007.
I need to export a table from Access to a Paradox DB file for use with an ancient program that unfortunately we're still running. The problem I have is that the table must be created precisely as stated in the programs manual, which means the fields must not only be named exactly but also the type and size.
I've managed to do this...almost, the only problem I have at the moment is that I can't get Access to export date fields that Paradox will see as a date field, Paradox reads them as a timestamp field. I've tried setting them as a short date, integer or formatted text but Paradox simply won't accept them as a date type.
The whole purpose of this exercise is so Paradox won't even need to be opened if I can export this table correctly, but at the moment the only way to sort it is to open Paradox and change the field types manually.
Does anybody have any clue how I can successfully export a date field from Access that Paradox will see correctly? Ironically there isn't even any data being stored in these date fields, but the program won't run unless they exist and are of type D!
I have a Table in my Db that is a link to an Excel spreadsheet. Of around 200 records just one is giving me a problem, in one field.
The Excel SS itself is the result of links to about 8 other SSs
The problematic field is a part number and is formatted as text, in the linked table and the underlying SSs. But this one bl**dy field which should be '1707' is shown as "#Num!" Which suggests to me Access thinks it is an number.
Other linked cells like "12345" are fine ???
I have tried putting a letter infront and it then works correctly. Remove the letter, back to "#Num!" again!
Can anyone suggest a way of forcing the formatting to text please?
I have validation logic that runs to test whether certain fields are inputted properly etc on my form. I call these methods in the Before_Update of each form. But How do i actually STOP the update from happening? OR how do i stop the form from being closed? Right now, I just give all these warnings but the save still happens!
I am attempting to split an Access 2007 database. My company has two locations. From my location we are remote connecting into the server. While down there they are connecting directly. When I split the database, people in my location can use it fine. When people down there use it, they get a not valid path error.
This is because the network drives are mapped differently. I have been reading that the solution is to use the UNC for the back end file path.
Here's the issue: Access 2010 Database with a Switchboard SharePoint 2007
After I moved the tables to the SharePoint site everything is working correctly except the Switchboard Manager. When I try to the Switchboard manager i get error that is was unable to find a valid Switchboard in the database and asks me to create one. If I click Yes I get error that Table 'Switchboard Items already exists.
My Database has the following: 1. Switchboard Items Table 2. Switchboard form
I can access both of them and attached screenshots of the errors and tables in the database.