Database Taking Long Time

Mar 4, 2008

Hi there,

I have on MS Access database.which was working fine untill now but suddenly it started this strange behaviour.
When i open it it opens without any error but stays in the frozen state for like 5 mins means i cant do any thing or i cant click anywhere.

and after 5 mins it starts working fine.Does anyone have any clue abt this strange behaviour.

Thanks
Danny

View Replies


ADVERTISEMENT

Query Taking Too Much Time/resources

Sep 26, 2005

Hi

I have two queries which are slightly different.
One of the queries takes way too much time and resources and I'm wondering if anyone could explain me why, and if possible, how to fix it.

This query is slow.

Unseen Movies
SELECT "General Info"."Title", "Additional Info"."Subtitles"
FROM "General Info" INNER JOIN "Additional Info" ON "General Info".id="Additional Info".id
WHERE ("General Info"."Seen" = 0)
ORDER BY "General Info"."Title";


This query is fast.

Unseen Movies With SubTitles
SELECT "General Info"."Title", "Additional Info"."Subtitles"
FROM "General Info" INNER JOIN "Additional Info" ON "General Info".id="Additional Info".id
WHERE (("Additional Info"."Subtitles" IS NOT NULL) AND ("Additional Info"."Subtitles"<>'') AND
(("General Info"."Seen" = 0)))
ORDER BY "General Info"."Title";

View 3 Replies View Related

Input Mask For Long Time

Feb 2, 2007

I'm hopeless with input masks. Can anyone help?

I want the user to only decide the first two digits in a 24 hour clock.The minutes should be 00 and no seconds, e.g.

12:00
21:00

etc.

View 2 Replies View Related

Form Takes A Long Time To Open

May 25, 2006

I have a form that takes a long time to open – around a minute and sometimes longer. The form is based on a query, and this query on its own opens almost right away. Why would a form take so long to load up? What factors can increase a form’s load time?

View 9 Replies View Related

Forms :: Format Double Field As Long Time

Feb 17, 2015

I have recently upgraded my Access 2003 application to Access 2010. I am running into a problem when formatting a textbox to 'Long Time' that is linked to a Double type field. The error that I get is 'The value you entered isn't valid for this field. You may have entered text in a numeric field or a number that is larger than the FieldSize setting permits.'

The textbox is linked to a field (double data type) and displays as the time in long format (4:06:17 PM). When I try to change to 4:07:17 PM I get the error. I tried removing the 'PM' and the colons but the error still occurs. The only way that I can get it to work is if I use a double value (0.735405092592593). In Access 2003 the time value would display properly, allow me to change the time and then save the time as a double to the database.

View 3 Replies View Related

Data Entry - Not Always Taking In Database

Jul 27, 2006

I am having a problem where I have a form that I enter data into. Sometimes when I enter the information it will add a record to the table and sometimes it doesn't. It doesn't put the information in the table more times than it does.

I have tried to enter the information outside the form and it still does the same thing.

Do you have any suggestions of what I can do to fix this.

Thanks

View 3 Replies View Related

Modules & VBA :: Code That Creates A Long String That Works Most Of Time But Sometimes Gets Cut Short

Nov 5, 2014

I have the following code that creates a long string that works most of the time but sometimes gets cut short. I can't understand why it does this. When it cuts the string short it cuts it short in the same place. Everything gets in the string up to/or about the following code '</Practice Name>'This string is needed to upload info to a server.

Code:
dim msg as string

msg = "<?xml version=""1.0"" encoding=""utf-8""?>" & vbCrLf & _
"<soap:Envelope xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xmlns:xsd=""http://www.w3.org/2001/XMLSchema"" xmlns:soap=""http://schemas.xmlsoap.org/soap/envelope/"">" & vbCrLf & _
" <soap:Body>" & vbCrLf & _
" <UpdateDataForScreens xmlns=""http://mdtoolboxrx.com/"">" & vbCrLf & _
" <PatientObj>" & vbCrLf & _

[code]....

View 10 Replies View Related

Taking Ownership Of Database-Access 2007

Dec 12, 2007

Just upgraded to Acccess 2007 and have ownership problem extracting queries from a 2002 db.

When trying to import into a new 2007 or export from the 2002, get "you have no permission" message

Have created a new user tried to change owner of the db, but no permission
File security looks correct in that I am owner of the file with full permissions, but Access doesn't recognize me as the owner

Tried logging in as admin, but it isn't the owner either

This is not critical, just very time consuming, this is a test project, but it would be nice not to have to rewrite about 30-40 queries and equivalent forms

Any guidence appreciated

View 12 Replies View Related

General :: Taking User Input While Opening Database

Dec 7, 2012

In my database there are fields of type Date/Time, their default value is set to now(). But the problem is that those fields are automatically filled up by English system date. I want my own country's date format, without changing my system date format. So I decided, whenever database is opened it should ask for a date, so the user will give today's date and that date will be used automatically on those fields.

View 6 Replies View Related

General :: MS Access Database - Show Long List Of Records When Browse In Datasheet View

Apr 12, 2014

I wonder how MS Access manage to show long list of records when we want to browse them in Datasheet view.

1 - Does it load limited amount of records on start-up and then load the remainder upon user interaction (scrolling for example)?

2 - Does it care about such things automatically or natively?

View 3 Replies View Related

Reports :: Attendance Database - Show Time In And Time Out For Specific Date

Apr 3, 2014

I have an attendance database and I connect the time attendance machine db to my access db, what i am trying to do is to generate a report that shows the time in and time out for specific date. the type of attendance db is date/time.

Please see the attached screenshot db from attendance machine.

an also some time there is duplicate entry, I need to get the first and the last entry only for specific date.

View 4 Replies View Related

Taking Letters From A String

Feb 8, 2006

Hi all, I'm not sure if this is possible ...

I have a table which has contact details in it... two fields are FirstName and Surname. I want to create a new field called initials which takes the first letter from each of the former two fields. Is it possible to do this using an update query?

Or any other way maybe?

View 3 Replies View Related

Taking Data From Another Table

Feb 16, 2007

Hi All

I have a quick query. I have a table with a Account Code and its relavant Account Name.

What im tyring to do is in a query or another table, which has 17000 rows of data and the account code has been used in each entry. What i'm trying to do is to be able to create another column where the relavant Account Name can be next to Account code in the query or table.

Could someone please help.
Thanks
Anna:)

View 2 Replies View Related

Forms :: Taking Out Certain Value From Table?

Aug 16, 2014

I am using ms access for entry of data of AC technicians. All Technicians can gain bonus amount in % if they work well and bonus % is dynamic for each technician. Suppose, Technician Mr.Jhon work for $300 or above so his bonus % is 5 and if he done work of $800 or above then bonus % is 9 and son on. But this % rule is not same for each Technician(based on experience company decided the %).

So How can i get % figure while entering data of specific Technician suppose I am entering Data for Mr.Jhon and i enter work done $600 (which is greater than $300) so the value 5 should be appear in next of my form column.

View 10 Replies View Related

Taking Control Of Db That's Split In New Enviroment?

Jun 8, 2005

Can someone help with this problem?

I created a database for another department that I split and configured the FE to point to the BE via an IP address on my server at my office. It worked perfectly.

The department moved to another location outside of our building. I placed the database on the server in their new location. I configured the FE to point to the BE via a physical driver letter.

'z:sosvr1epl databaseepl_fe' AND 'z:sosvr1epl databaseepl_be'.

The problem is that everytime they access the FE it gives them an error message stating that the db cannot find the BE on the drive letter "s". I KNOW ... IT DOES NOT MAKE SENSE.

I tried to correct the problem by configuring the FE to point to the BE via an IP address on their server. It did not work because their administrator could not get the login and password to their server to work.

They also stated that whenever you make modifications in a different enviroment, my office, and bring it to another enviroment, their new building, you will need to take "ownership" of the db in the new environment. Ok ... I did that. I went into the security under the properties of the FE file, and viewed all of the staff that needed full control, and saw that everyone did have full control.

Please help me. I hope I explained this clearly. Even though it does not make sense. I am clueless.

an IP address on my server at my office. It worked perfectly.

View 4 Replies View Related

Taking Data From Forms Every Month

Nov 21, 2005

I have a database set up with charts which plot information about support for "quality" purposes.
I have reports that work out the percentages but i would like to be able to take the percentage figure (say on the 1st of each month) and add it to a graph which will then be able to show the figures from the last 12 months so i can see how well the support is performing.
Any help would be greatly appreciated

View 3 Replies View Related

Query Taking Forever To Execute!

Oct 9, 2006

SELECT FCST.REF_DT AS [Date Forecasted], ACTUAL.REF_DT AS [Date Shipped], FCST.QT AS [Qt Forecasted], ACTUAL.QT AS [Qt Shipped], FCST.PART_NR, FCST.REGION, FCST.TYPE, IIf(FCST.QT=0,'',formatpercent((ACTUAL.QT-FCST.QT)/FCST.QT,2)) AS MPE

FROM TBL_FCST_WKLY AS FCST, TBL_ACTUAL_WKLY AS ACTUAL

WHERE (FCST.TYPE=ACTUAL.TYPE) AND (FCST.REGION=ACTUAL.REGION) AND (FCST.PART_NR=ACTUAL.PART_NR) AND

FCST.REF_DT = (SELECT DISTINCT DATEADD("ww",-LT.LEADTIME,ACTUAL.REF_DT) AS FORECASTED FROM TBL_FCST_WKLY FCST2 INNER JOIN LEADTIME LT ON LT.COMPONENT=FCST2.PART_NR AND LT.REGION=FCST2.REGION WHERE FCST2.PART_NR=FCST.PART_NR AND FCST2.REGION=FCST.REGION) AND

FCST.MONTH_DT = (SELECT DISTINCT DATEADD("ww",LT.LEADTIME,FCST.REF_DT) AS FORECASTED FROM TBL_FCST_WKLY FCST2 INNER JOIN LEADTIME LT ON LT.COMPONENT=FCST2.PART_NR AND LT.REGION=FCST2.REGION WHERE FCST2.PART_NR=FCST.PART_NR AND FCST2.REGION=FCST.REGION);


i am querying two tables TBL_FCST_WKLY which has 29500 records and TBL_ACTUAL_WKLY which has 798222 records.
When i run this query it sites there forever. Is it because i dint optimize my query or is it because the number of records is too much for access? can someone help plz.

thanks

View 9 Replies View Related

Taking Hyperlink From Access To Excel

Feb 19, 2007

I copied my data from MSAccess which one of the fields is a hyperlink field into excel. Well, the field contains text reading "FileA" but the hyperlink is dbfilesFileA.doc. Since I have it in Excel now, I want to be able to just have the data read "FileA.doc" instead of FileA, I thought if I can get the field to read the hyperlink path dbfilesFileA.doc then I can maybe use the Mid formula to take out dbfiles....

View 1 Replies View Related

General :: Taking Two Records And Combine Them Into One

Jul 20, 2012

So I have two tables. One table "tbl_SRVASSET" lists out servername, serialnumber and asset tag. Second table "tbl_SRVNIC" list out the same servername, IPAddress and IPAddressTypeDesc.

The issue is that I have records in the "tbl_SRVNIC" with the same server listed numerous times (because it has 2 or 3 NIC's). So there is obviously a one to many relationship betweeen the two tables (common I guess). What I'm trying to do is be able to take the servers in the "tbl_SRVNIC" table and a new table or create a query with a single record for that server and have all 2, 3, 4 or maybe more IPAddress's assigned to them listed in the same record. This is what I'm having trouble with...

The end result is that after I've got this new table that lists only a single server and it's associated NIC's in the same record I can then combine that data with the "tbl_SRVASSET" via a basic query so my end result is a brand new table "tbl_SRVDETAIL" that looks like this:
SERVERNAME, SERIALNUBMER, ASSET, SERVER NIC1 IPADDRESS, SERVER NIC1 IPADDRESSTYPE DESC, SERVER NIC2 IPADDRESS, SERVER NIC2 IPADDRESSTYPE DESC, SERVER NIC3 IPADDRESS, SERVER NIC3 IPADDRESSTYPE DESC, (and maybe more columns if there are more, but that is a variable as some servers have 2 NIC's, Some with 3 or more so...).

View 1 Replies View Related

Count Taking Reference Of Two Field Values

Jun 15, 2006

Can anyone help?

I have few of these columns in my query


Loc Company Pack RoundedNum SumTotal
2 ASDA AA 1
2 ASDA AA 5 6
1 Asda AC 2 2
1 ABC BB 10
1 ABC BB 1 11
2 XYZ AR 1 1



I am trying to achieve "SumTotal" column result. In the above query RoundedNum is an expression achieved from other columns(not shown above) from the same querytable. Now I want to insert this "SumTotal" column which will count for Total RoundedNum as per same type of Packs.

Thus the Total Field should look like the one shown above. Any idea how can i achieve this? :confused:

Thank you in advance.

View 2 Replies View Related

Future Date - Taking W/e & Holidays Into Account

Feb 22, 2007

Hey all,

I'm designing a query that must calculate a future date based on a recorded date. Unfortunately it's not as simple as just using adddate (unless I was using Excel!). Here's my requirements:

Future Date = [StartDate] + 45 business days

I am able to take weekends into account, but haven't been able to figure out how to bring holidays into the equation. I have an existing holidays table that I am using for another query within the database (calculates # of business days between 2 existing dates).

Hope this makes sense... I've been staring at it all day so I may not be thinking clearly anymore.

Any help is greatly appreciated.

View 1 Replies View Related

Modules & VBA :: Taking Data Form A Web Page

Aug 12, 2013

I am successfully using some code to open a web page and log in for me.

Code:

Dim ieApp As InternetExplorer
Set ieApp = New InternetExplorer
ieApp.visible = True

[Code] ....

The bit I am really stuck on and still after reading various posts and googling I cannot seem to get a bit of code to read a value from the web page.

<tableborder="0"cellpadding="0"cellspacing="0"class="linktable">
<tr><thcolspan="2">Status</th></tr>
<tr><tdvalign="top"style="width: 50%">
<divclass="fieldset"id="general_info">

[code]...

View 4 Replies View Related

Modules & VBA :: Opening New Form And Taking Data From Another

Jul 19, 2013

IThe db has a form called ClientFormNew which logs client details into a table called Clients.Each client has a unique client ID in the table called ClientID. Sometimes Clients call back for further information and we want to log that information into a related table called ClientHistory.Each record in the ClientHistory table has a unique ID called HistoryID which is the same number as the ClientID so these fields are related.

When a client calls back and the telephone adviser opens up the ClientFormNew form and discovers they have called before they need to click on a button called Client History which then opens up the ClientHistoryForm..I am struggling with the code to put on the Client History button as I want the new form to display the details of the clients first contact then allow details of the second contact to be added in a new row. Also the new form needs to show all that client past history which would be in the form of the following fields from the ClientHistory table.HistoryID, ContactDate, Name, ContactMethod, ContactReason, AdviceGiven, Notes.

View 2 Replies View Related

Forms :: Text Box Taking Value From Wrong Column?

Oct 1, 2013

I have a text box that is displaying a value from a table where the display control for the field in the table is a two row combo box. The text box on my form (I'm droping the text box on the form and manually changing the control source) is displaying the second column of the combobox where as I want the first column. If I drag the combobox from the field list onto the form it does show the expected first column (now if i change this to a text box in properties it shows the second column as well). Is there a way to change the text box to view the first column?

View 2 Replies View Related

Time Intervals On A Database.

Mar 18, 2008

Hi there, wondering if anyone can help me.

i have a database that is going to be shared across a network server. What i would like(if possible).

USER 1 has opened up the Microsoft Access database and has spent 15 Minutes entering information. USER 2 then goes to open the same database, but gets a message saying something along the lines of "Database already in use, please try again later.

I Hope ive expressed what im trying to do.

Any thoughts would be greatly appricated.

View 9 Replies View Related

Taking One Date From Another To Give Number Of Days Left

Dec 11, 2006

HI, this should be relatively simple, but for some reason I cannot figure it out.

I have a field titled "DEADLINE" - a user inputs a date in this field (the datatype for this filed id date/time)

What I want to do is, on the form create a text box which takes the deadline date - todays date to give me the number of days to the deadline date. Once the dealine date has passed I then want to turn the counter to Red to show it is overdue. If there is no dealine then I want the field to say something like "No Deadline Set"

View 5 Replies View Related







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