Have I pushed Access to the limit? Everything runs great, although I do have some hecups, once in awhile but nothing major.
I'm at 100 megs. I have 40 users with read/write. I have maybe 300 users with read only.
The IT people told me that Access is not design to do this kind of work. I mention that it been running for over 7 years, with very few problems.
Those problems I created myself.
I guess I need some feed back from what you think.
I have 3 text files, I receive daily, that I need to import into my database. Until we upsized to SQL, we were manipulating the data in Access, and everything was fine.
These three files do not come with a primary key, and we have to insert one row of information into one of the tables. Once we get the flat files, we use our import specifications to set the field types, etc.
Our process works like this: 1. Get the files and import them by spec. 2. Compare one of the import tables (importTable_new) to the current table and write the differences to a third table. 3. Delete out the data from the old tables and copy the new information into them.
This process cannot change due to the way our system is setup. Our data gets filtered prior to us receiving the file, so we have to make sure we always use the most current data from the extracts. We have saved previous data in other tables, so I am not worried about that part.
My problem is this: I am using a DSN-less connection (ODBC) to the SQL server and if I try to run a query that updates the SQL-tables, using a local table, it errors out. There are a myriad of errors that came out of this, I have tried to hunt down what I could and solved a fair amount. However, I continually get:
MS Jet OLEDB 4.0 cannot be used for distributed queries because the provider is used to run in apartment mode.
I have done the steps on the SQL server to remedy this error to no avail (turning on ad hoc reporting, etc).
I have tried OpenRowSet, but that did not work out all due to the continual error from the server.
I tried to use an SSIS and it drops the import specifications on import to SQL from Access.
All I want to do is take three local tables and paste the results in the matching 3 SQL tables in the backend, without deleting the tables (or if I have to delete the tables, to be able to re-create them with the right field types and settings). The tables are identical in field type, name, size, etc.
Hey Everyone. I'm a Novice so don't know if what I'm asking is either easy or hard to do. I have a DB for our record label. One table is Incoming Materials, the other is Assigned Materials.
I need a button that when pressed takes all the data from one table and put into the other. Both tables contain the same fields although Assigned Materials has alot more obviously.
Anyone done anything like this before or have any clue how I can do this. Keep in mind that I'm an annoying Novice. Thanks for any help. I promise I won't be a Novice for long
I have created a report that includes 4 subreports. The subreports are displaying survey results from 4 different survey channels. New survey data is added to the tables monthly so the subreports will grow in size. Is there a way to have the subreports automatically resize and push down the subreport below? Currently what is happening is a subreport will grow and the additional data disappears underneath the next subreport. Is there a better way to create a report that displays information from multiple reports that will change in size?
Using the code below I am able to open an explorer window from access and select most of a file path. The part I am not able to get is "LN" which is a field in my forms. I need to be able to pull the current LN number into my Modules file path. How do I do this? Is it easier to go by ID or the actual field I am looking for?
Code: Function Loan_Folder_Search3() Dim rs As Recordset Dim LN As String Dim Client_Name As String Dim RetVal As String Dim LFPath As String
[Code] ....
Currently, it keeps pulling the first record, no matter what record I'm on.
I am trying to generate standard Avery 2160 address labels. Fonts are small enough to allow for up to 4 print lines none of which quite touch. Players have entered their own names and addresses via a website form, so I we never quite know what is in the fields. If the player has a foreign address, it will all be entered in the address field, whereas US addresses have 1 or 2 lines in the address field, and city, state and zip in their respective fields. Line 1 is set as name, no shrink or grow. Line 2 is set as address, shrink and grow set to yes, and line 3 (text4) is set for city & state & zip, concatenated and trimmed in the query, shrink and grow no. The detail OnPrint event is the following:
Code: Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer) Me.Text4.Visible = False If Len(Text4 & vbNullString) > 1 Then Me.Text4.Visible = True End If End Sub
The problem: Any row containing at least one label with 4 print lines pushes the next entire row of three labels down one line, throwing off the spacing of the labels. If I set line 3's can shrink to yes, then the label following the four-line label never has its text4.visible turned to yes, and the other problem (pushing next row down one line) persists. These labels were originally set up via the labels wizard (Access 2010).
How can I keep it from overflowing from one label to push down the next line? This just shouldn't be this hard!
We use a custom built Access “97 version” database at work that keeps track of our internal manufacturing processes. The database stores jpg’s and dwg files that use up a lot of precious DB space and if we had it to do over we would use hyperlinks to these files to save space. But this database we built long ago and we have reached the 1 gig limit of Access 97.
1) If we upgrade to a newer version of access will this increase the database limit to 2 gig’s 2) Is this kind of upgrade easy to do or should this be done by a Access professional
I am working on something and have to link I think a few thousand tables from a "store bought" database here at work. Is there a limit in regards to access? I know they are just linking but I didnt know if Access gets nutty after a while...
Anyone encounter functionality breakdown due to size or complexity?
Finally after 2 1/2 days I have the ability to bring a dbase 5.5 file in to Access 2007.
1.Do a normal export of a DBF file out all dbase. 2. Excel 2007 - open the DBF file. Note: dBase Files (*.dbf) 3. Save as a .xlsx file. 4. Access 2007 - right click on table in left columnImportexcel 5, Note: You'll be looking at a window with a yellow bar across the top. Browse to your *.xlsx file and open. 6. Select "OK"show Worksheets nextFirst Row Contains Column HeadingsNextNextNo Primary KeyextFinishclose 7. Double Click on file in left column and there it is.
Never got other methods to work, sad to say.
After a day to get to this result, the problems begin. Every time we would change one character field from 50 char to 6 char, or whatever, the out of memory or disk space error would come up. I have 250 gig available and I'm running 4gig of memory with nothing loaded but Access 2007. I even shut down my virus checker.
So I spent a day or two trying to find a wining combo (A File Size That Would Work). And here it is, 148500 records that comprise of a 21.3m file is the breaking point. If I change a character field, 250char to 6 char, I'm ok. If I change a couple more it get the error message. 150,000 will get a memory/Drive error no matter what is changed.
Is there a option in Access that should be on. Because I find it hard to believe that an old dBase program, one step up from DOS, can handle 350,00 records all day long and Access chocks on 148000 records. Up until now I thought Access was the best thing that happened. There has to be something wrong, no software designer would have done this. I even checked for a corrupt file, the best I could. If there is a file checked out there, I’m open to it.
I have a small database which lists delegates for courses. I have a venue which will hold only a small amount of people is there a way of stopping data entry when it gets to a certain point. ie putting a limit on how many columns can be entered on a single table
I am using Access 2007. My boss has given me a project to create a tool for our team. I'm done with most part of the project, but for the last part I want editing and updating of database restricted to a few members of our team. However others can access the database and run queries etc. through buttons on a form.
I went about creating a login form for users to get access to the database and in turn created a table with fields UserID, UserName, UserPW and a yes/no field titled IsAdmin. For those who would be limited access would log in as 'Other' user and same as password. I am then using the code to determine if the user should be treated as admin or not by looking up the IsAdmin field in the table. Following is what I have so far, but it needs correction some places and I can't figure where:
Private Sub cmdLogin_Click() Dim xxAdmin As String 'Check to see if data is entered into the UserName combo box If IsNull(Me.cboUser) Or Me.cboUser = "" Then MsgBox "You must enter a User Name.", vbOKOnly, "Required Data"
I'm trying to import about 18 excel spreadsheets into one database in Access. I've been using "get external data" to import the spreadsheets as tables, and the first 8 of them worked fine, but now I cannot import any more excel files. The only error message I'm getting is "An error occurred trying to import file 'C:....xls' The file was not imported." And this error pops up after I have gone through all of the importing steps. Did I exhaust Access's resources? It's not a format issue, and I've restarted, etc. I'm at a loss.
I have navigation form with 2 tabs I'd like to limit access to users with certain type of account.
There are 2 tables in database that contains user names and types of accounts (tblSecurityLevel and tblUser), and they are used to set user name, login and security level.
It works this way: when you open form, it checks if PC name corresponds to name in UserLogin field (tblUser), if it does it gives appropriate access level depending on set user security, if PC name is not on the list user will be logged as guest.
So far, I used this code and it works great for limiting access to 1 tab:
Code: Private Sub Form_Load() Dim UserLogin As String Dim userLevel As Integer UserLogin = Environ("Username") Me.TxtLogin = UserLogin
[Code] ....
Is there a way to expand the code and add second tab (or even third) with this table structure (I'd like to be able to keep login which 1st checks for pc name).
what is the best way and good practice in limiting user's access in form or report.For example, i have 2 users in my UserTable, one is Administrator and the other is just ordinary user.In case i want the ordinary user to open the form in "Read Only" mode, and the Administrator in "Edit" mode.
Do I need to make a code for each form to be opened or there's another easy way to handle this? (I am thinking for additional fields in UserTable to store their individual rights, but after that i don't know what to do next)
I have access 2013 windows 7, I'm trying to expand the record keeping on a database someone else designed. I've added the fields i need to the Recordsource(s) (the table, query, and working on the form as well) I can't make the report any larger it seems (its currently at 22") and i need to add another "page" worth of fields horizontally; is there a way to do that? and also to replicate the header and other key fields so they're on that 3rd page.
I searched the archive and didn't find quite what I was looking for, so..
I have an Excel 2003 spreadsheet work-in-progress being used as a template (developed by others) to prepare project cost estimates in a complex regulatory environment. We are 'modelling on the fly' for a number of projects until we are comfortable with the estimate model, after which time I intend to incorporate our 'stable' estimate methodology into Access. Meanwhile, I am 'stuck' with the Excel spreadsheet.
I have a project tracking database (Access 2003), and I want to be able to track my estimates. I do NOT want to embed my spreadsheets into the db, just a filelink. There can be more than 1 estimate per project.
Ideally, the user should be able to define a project in the Access db (or select one already defined) and click a 'make estimate' button, which would generate a new Excel file in a predefined directory (based on the present version of the .xlt file), give it an appropriate filename (based on the Access ProjectID and estimate sequence number for that project if there were others already), open up that workbook in Excel, and then autopopulate some cells based on information showing on the original form in Access!
A separate button for 'Open existing estimate' will eventually be required, but I think I could do that if I can get someone to walk me through the steps required above.
I am somewhat familiar with vba in Access, but am an absolute rookie when it comes to excel.
Edit: I left out that I would also add an appropriate record to a table like tblEstimate which would contain the link(s) to the estimate(s). This table will obviously contain a FK to tblProject
I am trying to uses a inputbox. I need it to end the script if cancel is hit, but the value from the input box can be zero? So cant filter it that way.
Also
Does the SQL command LIMIT work in access and is it possible to number row in order?
I am use to SQL commands... I am currently working on a MS ACCESS DB for a web site.... I have a program that uses LIMIT, but ACCESS does not use LIMIT... I know MS ACCESS uses top, but here is the dilemma.
I have over 200 rows in a table. I want to have a query of 1-50 rows... then another with 51-100 and so on...till I reach the end of my table.... The problem is ... TOP does not let me choose where to start in the DB and stop... can anyone help with this issue??
Hello,I have a form that I use for searching. It takes all the records in the database and then people can type things they are searching for - numbers, dates, names, descriptions etc. - into a text box, and as they type, the selection window shows fewer and fewer matches.What I would like to do now is give the user the option to limit where the underlying query searches, but only if he wants to do this. In other words, I want to be able to search the entire database [default], or only within a certain year, or amongst the products of one manufacturer, or a certain model etc. and I want to be able to combine parameters so that more than one can be applied at the same time. I have 5 or 6 parameters and I was thinking of using drop-down boxes for the user to select a value for these parameters. My problem is that when I specify parameters to limit the search, I have to have a value in all of them. What do I need to do to make those optional?Thank you.
Hi i just wanted to find out how many tables can one get data from to make a query. is there a limit? im in the process of making a query which will get data from 5 tables but im having problems. Any help will be highly appreciated.
I am trying to display data from a table. One of the fields is entered via a combo box. When displaying that data on a form I need to be able to allow items not on the list(created by a select query) to be displayed for this field. The data was created some time ago and it seems that records have been deleted in certain places which has resulted in inconsistent data.
I am happy resticting data entry for new records, but need to allow items not on the list to be displayed for historical data. Data entre and displaying of historical data take place on seperate forms so this is no problem.
My problem is that I am only able to disable limit to list if I make the bounded column anything other than 1 and doing this displays the wrong data!
Am I attempting the imposible or if not, can anyone help?