Is It Possible To Have Too Many Records A A Database?

Nov 2, 2006

Newbie here that would like to ask for some help.

The past couple of days my database has been doing some very strange things and I am wondering if there are just too many records to search through in a query.

First of all I keep my data in a separate file from the queries and reports and link the two databases together. (not sure if that even matters but thought it was worth a mention)

The problem happens when running a query, for example: I ran an existing query to pull in specific email addresses based on location. Instead the results were phone numbers, but the header said it was the email field.

I was able to fix it by running the compact and repair database function but it keeps happening but at random times. What may be causing this?

Any insight would really be appreciated. I'm a self taught database manager so haven't necessary learned all the tricks.

Thanks,
Debi

View Replies


ADVERTISEMENT

How Do I Add Records To A Database?

Mar 20, 2007

Hi

i am fahad khan......anyone can tell me about the add records in access database?

Thanks

View 1 Replies View Related

Transfer Records To Another Database

Apr 3, 2006

I work in a hospital where each ward has its own identical but UNLINKED staff database. I wanted to make a single database but the management was adamant that for confidentiality they should each be standalone. I lost this argument!

Data is stored in 7 tables: Identity, annual leave, sick leave, qualifications, etc.

Too late, someone has realised that staff may transfer from one ward to another, so the whole record needs to be transferred. What's the best way to do this?

So far the process I have come up with is:
Choose the person you wish to export from the source database
Run 7 queries to export the records from the various tables e.g. to Excel
Create linked tables in the target database to pick up these records
Run import queries.

I set up a macro to run the 7 export queries, using the "OutputTo" action and specifying .xls for the output format. But the files created don't appear to be readable by Access. In Explorer, they only have the Windows icon and are just "files".

Does anyone know a better way to tackle this problem?

View 1 Replies View Related

Adding Old Records To New Database

Jun 6, 2007

Hi there,

I have a bit of a dilemma here.

I have an old database, which is very comprehensive, filled with client names, addresses, and other information.

I have been given a new database, which is more relational and effectient, which splits the client addresses into a seperate table.

I need to add the old data to the new database - so is there a way of doing this whilst maintaining the links between the old addresses and the rest of the old data? What I don't want to have to do is end up going through 3000+ entries sorting out what new CompanyID I should assign...

Any thoughts?

Cheers

Hob

View 2 Replies View Related

Logging On Using Database Records

Jan 17, 2005

Hi,

Does anyone know if it's possible to use the records stored in an Access 2002 database to log users into an ASP.net page? I'm trying to code it in vb.net but im not sure how it could be done. Basically I think I need 2 text boxes on the ASP page where the user can enter their name and password. I then somehow need to retrieve the name and password from fields in the database (using ADO.net i think) and compare them with those entered by the user. If they match then I want to load another page, and if not then I want to display a message saying login details are incorrect.

Any help on this subject would be much appreciated- the fields i have at the moment are called 'User' and 'Password' in a table called PERSON.

View 4 Replies View Related

Exporting Records To An Archive Database

Aug 2, 2005

I have been trying to figure out how to do this and the transferdatabase function wouldn't do what I needed. I have a table that has a bunch of records, each being a request for cad work somebody wants me to do. I change the status of each one to pending, working, or complete. Anyway I want to only keep the completed task records in the database for 90 days. After that the records will be exported to an archive database and purged from the working database. The problem I face is not getting the records I need “I used date stamps ;)” but getting the records I filtered to append the archive database table and not overwrite it. I made backups ;) of my db and am testing on those and cant figure this out. Below is the code I used to export. Like I said it overides the table rather than append...

DoCmd.TransferDatabase acExport, "Microsoft Access", _
"X:Archive.mdb", acTable, "tRequest", _
"tRequest"
MsgBox "its done"
Any ideas, pointers, stern words and a link to a post I missed, anything to help is appreciated. :o
Thanks,
Eric

View 1 Replies View Related

Count Of Records In All Tables In Database.

Aug 6, 2007

Is there a way to have a query pull all of the table names within a database and display the number of records in each table? The names, number of tables in the database, an number of records within each table will always be changing, which is why I wanted to use a Query to pull the information.

I have already tapped into the MSysObjects table to retrive the Table names (via a Query), I am however stumped on how I am going to display each tables record count. Any help would be appreciated. Thanks in advance.

View 1 Replies View Related

Database To Count How Many Records To Create

May 23, 2005

I have a form which a user selects an activity from a combo box. On some occasions a user may need to enter the same activity a number of times. I want to add a text box/combo box that a user can enter or select a number. When the user hits the submit button i want the records created in the database to match the number specied fied in the text/combo boxes.

I think i may need to use an INSERT statement but totally confused how to do this.

View 6 Replies View Related

Seperate Database Records In Divs?

Feb 8, 2005

I am trying to create a page that can display 4 different records from a database, each one in a different div container, for a news page.

I have an access database containing news records - headline, news and date. Each record also has its own auto-numbered ID.

So far I have managed to get the asp page to display all of the records in a list by using:

recordset.movenext
Loop

and I have managed to get just 1 displayed by using:

SQL = "SELECT * FROM tblNews WHERE ID=1" and changing the ID number.

But I can't seem to find a way to display each in a different div container on the same page. Can anyone help please? I think this is really obvious but I just can't see it!

Thanks.

View 2 Replies View Related

How Can I Display The Number Of Records In A Database?

Aug 27, 2003

After creating a recordset how do I display the number of records in it?

View 2 Replies View Related

Adding Records To An Access Database

Aug 9, 2006

I'm trying to add a record to the members table in the access database located at c:dbmyforum.mdb. So I looked it up and did a copy and paste from an example, and edited it to match what i need. here's what I've got:

Code:<html><body><%set conn=Server.CreateObject("ADODB.Connection")conn.Provider="Microsoft.Jet.OLEDB.4.0"conn.Open "c:/db/myforum.mdb"sql="INSERT INTO Members (SN,Password,)"sql=sql & " VALUES "sql=sql & "('" & Request.Form("sn") & "',"sql=sql & "'" & Request.Form("pw") & "')"on error resume nextconn.Execute sql,recaffectedif err<>0 then Response.Write("No update permissions!")else Response.Write("<h3>" & recaffected & " record added</h3>")end ifconn.close%></body></html>

But it keeps coming back with errors. What am I doing wrong? I'm sure that the info from the form is going through, and I've checked the sql several times, although I'm not sure about the vb script cause I'm new to asp(trying to learn it now).

View 14 Replies View Related

Insert Records Into Database Using Access And Asp

Feb 24, 2008

Hi, i quite new to programming.
I want to insert some values into the database.

This is my sql statement written in the asp page
Code:SQL= "INSERT INTO Login ([User], Pass,Info,GroupID,UserRootFolder,Email,IsDisabled, IsGroupAdmin,LanguageFile,AccountExpires) VALUES ('"& str_name & "','" & str_password & "','" & str_aboutUser & "'," 5 , &"''"&", '"& str_email & "', " 0 , 0 , english.dat, NULL)

The values 5, 0 , 0 and english.dat are the values i want to imput into the database. They are not variables. The rest will be variables.

This is the error i get

Code:Error Type:Microsoft VBScript compilation (0x800A0401)Expected end of statement/temasek/register_action.asp, line 12, column 200SQL= "INSERT INTO Login ([User], Pass,Info,GroupID,UserRootFolder,Email,IsDisabled, IsGroupAdmin,LanguageFile,AccountExpires) VALUES ('"& str_name & "','" & str_password & "','" & str_aboutUser & "'," 5 , &"''"&", '"& str_email & "', " 0 , 0 , english.dat, NULL)-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^

How do i write my sql statement

Thanks

View 3 Replies View Related

General :: Reset Database To Have No Records?

May 18, 2014

Is there any way to reset a database to have no records (start again) ?

View 1 Replies View Related

General :: Copy Database With No Records

Aug 6, 2013

I'd like to be able to show recruiters the database as an example of my work (to get an interview, etc.). Of course, I can't just show them a copy of the database with all of the private information on it, so I'd like to be able to show them a copy of the database with no records. Is there a way to export/copy it so I can do this in Access 2007?

View 4 Replies View Related

Viewing All Records On Split Database?

Feb 16, 2015

I have a split database with the back end on a sharedrive. I have the front end saved on my own drive and the same for my colleague.

When I view the front end version of my colleagues, I can see a records on there that she has input but I can't see them when I open my own copy of the front end plus when I view the back end I can't see the records there at all.

View 4 Replies View Related

Using Up Blank Records In Invoicing Database

May 6, 2015

I have written an invoicing module for my program and some users in the office are dirtying a record and then leaving the module without completing the invoice. (This leaves behind an almost blank record with a period in one field or a space, etc). When someone else starts an invoice from another workstation it skips this almost blank invoice and starts a new one, skipping the almost blank one. Is there a way to check for these orphans automatically before using another invoice number. This happens once or twice a day so it is of concern to my bookkeeper who checks the sequence of invoices to make sure none are missing before posting them to the accounting program.

View 4 Replies View Related

Adding Lost Records Back To A Database

Jan 30, 2006

Hi

I was wondering if any one could help me.

I have a database at work with 5500 records, how ever the first 1000 have been lost. There remains records for each customer but the first 1000 records showing what they ordered have disapeared.

I have back ups of the database going back with the first 1000 records complete.

How would i take the 1000 records and add this to the current database where the information is missing? so it wouldnt mess up recent records?
could some one provide me with a step by step account. Would be much appreciated!

Many thanks

View 4 Replies View Related

List Box Question Database Not Showing Records Please Help

Jun 2, 2006

Please help me fix my database


If you take a look at the tab called insurance i have a list box. How do i filter the list box so that it will only display the patients insurance based on the demo tab.


Also i have other records in the table called people. they are not showing in the people form. when i use the mouse wheel automatically creates new record please help

View 1 Replies View Related

Modules & VBA :: Importing New Records Into Existing Database

Jan 21, 2014

I have table1 in my (Access 2010) database that has exising records. I have another table2 that after I run a query, it first deletes the data in table 2, then imports new records into that table. I run the import into table 2 on a semi regular basis but have yet to copy those records into table 1.

With that said, using either a query or VB, how do I copy all the (new) records from table 2 into table 1 without altering any records that already exist in table1?

BTW, Table 1 has a main form with a subform within it

View 5 Replies View Related

General :: Last 2 Weeks Of Records Missing From Database?

Mar 27, 2014

I've got a database used daily by 4 users. It's split into a frontend (10MB) with all the forms/queries/reports/vba and a backend that's just tables (170MB), and the users access the database from a network drive. All additions through the forms are logged to a text file, and at the end of the day, a report is run that prints the day's work to a PDF. The database / workflow has been stable for the last few years, with only minor edits to the code, and no programmatic changes in the last 3 months.

Today, after running a compact-and-repair, I realized that the database contained no entries added within the last 2 weeks. I checked my log files, and sure enough I see that all of my records were at some point added to the database. This is supported by the fact that I have PDFs for every day in the last 2 weeks that show exactly what was done (roughly 30 new records/day).

My first guess was that compact and repair had corrupted the database, and knocked out a chunk of records. Fortunately, I've got daily backups, so I started restoring to yesterday's database. At this point I found that the records were missing from there, and from every backup from the last 2 weeks. Now, it's possible that my backup solution (logMeIn backup) is hosed, but the the log files are getting properly restored by the backup, which leads me to believe the backup is working. So, somehow these records were never saved in the database, yet they magically appeared in my end-of-day reports?

I thought maybe I was getting stuck in some state where the database went read-only and the edits were getting stored in memory but never written to disk, but that doesn't make sense as we occasionally restart the database during the day for other reasons, and the end-of-day reports are always complete, which knocks that out. Having restored to a prior version of the DB, I attempted to make changes / add new records and they appear to be sticking, but I find my faith in Access rather shaken, all the more so because I haven't a clue what went wrong before.

View 2 Replies View Related

Queries :: Display Last 100 Records Entered In Database

Jul 15, 2014

I am looking for a way to either display through a query with an expression or any other alternative that someone may have to display the last 100 records entered maybe based on date entered or something.

At the moment i have a query and report going form start date to end date but would also like a query/report that will just show me the last 100 records entered.

View 10 Replies View Related

Modules & VBA :: Appending / Adding Certain Records To Another Database

Feb 17, 2015

The goal I am trying to accomplish using VBA within Access 2010 is to append/add certain records to another database (Customer Service) from my database (Client Request). I tried using a macro to append then update records in my database but there is a "lag" time as to when the information is updated in the 'Customer Service' database causing my updates not to occur.

Here is the SQL from my query:

INSERT INTO Issues ( Customer, Title, [Due Date], [Opened By], [Opened Date], Priority, Comments, [Job Number], Description )
SELECT [TBL003_Combined Data].CUSTOMER, [TBL003_Combined Data].TITLE, [TBL003_Combined Data].[DUE DATE], [TBL003_Combined Data].[OPENED BY], [TBL003_Combined Data].[OPENED DATE], [TBL003_Combined Data].PRIORITY,

[Code] ....

And here is how I "thought" I could fix it through Access VBA:

Function UpdateIssuesDatabase()
Dim con As Object
Set con = CreateObject("ADODB.Connection")
On Error GoTo UpdateIssuesDatabase_OpenError
con.Open _

[Code] .....

I have highlighted where it is giving me the issue.

View 9 Replies View Related

Forms :: Drop Down Box To Find Records (web Database)

Apr 21, 2013

I am using Access 2010 and the web database so having a bit of an issue. I have tried google but no luck really - seems complex and confusing.

Basically I have a table which has column 1 of the unique id and column 2 is the project name.

When you click the drop down on the form, I want it to show column 2 (the project name) and when you click this, on the form I want it to find that record.

View 3 Replies View Related

Forms :: How To Save Records To A Table Of Web Database

Mar 5, 2014

I'm using Access 2010 and now trying to save a selected record to another table which I have no clue where to find the "Code Builder" to put my code on after spending hours and hours, I managed to create a form, but couldn't figure out where to save this data.

All I need is to put this line
"INSERT INTO ResultTable (StudentID, CourseID, PaidID, Comments) VALUES (" & cboStudentSelect & ", " & cboCourseSelect & ", " & cboPaymentSelect & ", " & txtComments & ") WHERE StudentID = cboStudentSelect

Perhaps, the new Access 2010 doesn't use this or something new that I couldn't it.

Attached is the file.

View 2 Replies View Related

Modules & VBA :: Split Database - Reading Records

Jul 2, 2013

My database was working fine until I split the database and now I'm having issues with this function:

Code:
Public Function OpenFirstAttachmentAsTempFile(ByRef rstCurrent As DAO.Recordset, ByVal strFieldName As String) As String
Dim rstChild As DAO.Recordset2
Dim fldAttach As DAO.Field2
Dim strFilePath As String
Dim strTempDir As String

[Code] ....

It's getting stuck on the "strFilePath = strTempDir & rstChild.Fields("FileName").Value" line. The debugger says that there is no reord. The strTempDir is correct. I am assuming that the issue has to with linking to the database.

View 6 Replies View Related

Modules & VBA :: Pull X Number Of Records From A Database

Jan 23, 2015

I need to first generate a random number between 1-4.

Then I would like to use that number to pull that many records out of the database; the records pulled can be random, or whatever.

For example, we have 4 people and my goal is to choose a random # of records to pull for each person. So, for person #1, it might only pull 1 record, then for person #3, it may pull 2 records, etc.

Ideally, it wouldn't pull the same # twice when run for that "session".

After this, I'm hoping to generate all those results into emails (eg for person 3 it would generate 3 emails, etc)

Currently it's all done manually and I think it's doable with Access.

I have some code already for generating "1" email message, but do not know how to pull X number of emails all at once. (X is the random #).

View 2 Replies View Related







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