Form Errors - Vista Issue

Mar 11, 2008

Hi All,

I have a simple form with 3 subforms. I have a 1 data field on the main form for each subtotal of the subforms as well as an overall total field.

I have the following code in the subtotal fields:

SETot=IIf(DCount("[ID]","qryExpenses")=0,0,DSum("[Reimbursment]","qryExpenses"))
DTETot=IIf(DCount("[ID]","qryTravelExpenses")=0,0,DSum("[Expense]","qryTravelExpenses"))
RTETot=IIf(DCount("[ID]","qryTravelExpensesR")=0,0,DSum("[Amount]","qryTravelExpensesR"))

The total field then contains the following code:

Total=nz([SETot])+nz([DTETot])+nz([RTETot])

The queries all run off data elsewhere on the form, and i have triggered a "Form Refresh" macro on each of the changeable fields of the form, (so for example when changing the start date for the period the form then refreshes and re-runs the queries and updates the forms.

All things work perfectly on our windows XP systems but the rare few Vista operating systems causes these form fields to have errors. Basically the 3 subtotal fields don't appear to refresh when they are supposed to, and the total field shows as "Error"

It is actually a fairly cosmetic thing as the more important reports are generated without error, but it is something i would like to fix anyway, simply to keep the masses happy.

Would be very appreciative of any assistance or idea's on what's happening, or perhaps what's not happening here.

BTW: All have MS Office 2007, None do not have Administrator access. All XP machines work perfectly, all vista machines have these errors.

Cheers
Nathan

View Replies


ADVERTISEMENT

GEt Errors When Form Has ' In It...

Feb 15, 2005

Hi,

this is probably an old one but its catching me out. I'm writing a sports club database in ASP.
When users submit their club details in the form to Access, I get errors if it has the characters ' in any of the fields.
I've managed to get around " by replacing it with "". However, this doesn't seem to work with '

I'm new to ASP... anyhow the part of my form which deals with this is:

Form_style = Trim(Replace(Request.Form("style"),"""",""""""))
Form_club_name = Trim(Replace(Request.Form("club_name"),"""",""""""))
Form_name = Trim(Replace(Request.Form("name"),"""",""""""))
Form_website = Trim(Replace(Request.Form("website"),"""",""""""))

I also do a bit more error checking on the email address, for length, @ etc. This bit seems to work ok. However,
Any tips on how to improve the error handling for ' or " before its submitted to access is appreciated.

Thanks

View 2 Replies View Related

Form Syntax Errors

Jan 12, 2006

Hi All,

I seem to have the biggest problem with getting information from one window/form to another.
I have a MainForm, that has 2 subforms on it. On the subform2 there is a command button that opens a new “Form3” in “dialog”. Form3 has a list box displaying data from a table and a command button that says “Add to Subfom2”. I want to get the information from Form3 and update the unbound textbox on subform2.
I keep getting errors; “Field not found in….” I have tried:
Forms!MainForm!Subform2.Textbox = ListBox.Colunm(1)
Forms!MainForm!Subform2.Form!Textbox = ListBox.Colunm(1)
Forms!MainForm!Subform2!Textbox = ListBox.Colunm(1)
None seem to work, what am I doing wrong?
Can some on help me with this syntax.
Thanks Enviva

View 4 Replies View Related

Forms :: Form Calculations With Errors

Jun 11, 2013

I am currently working on a form that calculates the sum of counts and charges for various categories. The form sums the number of items in each category, then the sum of the charges. Where I am stuck is trying to break out the "per unit" charge for each category. The calculation works fine (sum of charges/sum of items) when there is a number greater than 0, but if the count or charges are 0, the fields display errors. I attempted to compensate for this by setting the text box value on the form to iif(iserror(sum of charges/sum of items),0,(sum of charges/sum of items), but it still shows the error!. I could probably write nested iif statements to evaluate the values of each sum, but you would think this would be simpler. Here is a sample of the actual ControlSource field on one of the text boxes:

=IIf(IsError([SumOfOracle_Qual_Dev_Charge]/[SumOfBaseline Qualified Developer]),0,[SumOfOracle_Qual_Dev_Charge]/[SumOfBaseline Qualified Developer])

View 2 Replies View Related

Queries :: Query By Text Box In A Form Errors

Jun 19, 2013

I have a table that stores the criteria that the query is supposed to pull from so that when a user logs into my database, it reads that the person is part of a sepcific unit and then pulls that specific criteria and places it in a text box on a form. When they click a button on that form, it then opens the form that is connected to the query. The data type for the field I need criteria for is a number, so the criteria that shows up in the text box is this "1 or 3 or 5" so that it shows those specific numbers. If i put that directly into the query, it works just fine, but if I try to connect it from the text box in the form, it gives me a "data mismatch error" or an error explaining that criteria is too vast for access to pull the information. How do I make it read the information in there so that I dont have to create 1000 forms for each different unit.

Example:

Field: Unit
Table: Master Log Data
Criteria: 1 or 2 or 3

Works fine!

Field: Unit
Table: Master Log Data
Criteria: [Forms]![Selector]![Criteria]

The text box that is referenced in the criteria in the query says 1 or 2 or 3 and then I get an error... If the information is the same, why does it work when I place it in the query specifically, but not when its in the text box?

View 1 Replies View Related

Queries :: Passing Results From A Form Into Query Errors

Nov 14, 2013

I am working on a database that contains patient demographic information. I have a form that prompts the user to enter either the medical record number or part of the patient name. Once you click search it'll then display a 2nd form with a list box outputting the results. Then from there the user can click on one of the entries in the listbox and it'll display the full demographic information on a 3rd form.

Now my problem is on the search part, it completely ignores if I have a medical record number entered. It continues to search by name only.

In my query for med rec # I have

[Forms]![frmSearch]![txtHistn]

where txtHistn is the text box field passing into the query. And for patient name column in the query under OR I have the following:

Like "*" & [forms]![frmSearch]![txtPname] & "*"

So I am confused why it ignores the medical record number entirely.

I have a test database attached. This is just a sample with dummy data entered and not designed pretty. Through this up for another issue I had yesterday that has been resolved but now discovered this query one. The frmSearch is how it begins. If you search by Smith it'll bring up the two Smiths I have entered. If I leave the field blank and enter 1 for the medical record number it treats it as null and displays everything. How can I fix this?

And while on the topic of query, the true database I am working with resides on an Power I series (formerly AS400s) and only linking to their tables. The data is entered in all Caps in the tables. How can I force whatever the user enters into the search screen that it will automatically uppercase the letters before performing the search? Without having the user to remember to enter with their cap locks on.

View 14 Replies View Related

Anyone Used Access 97 With Vista?

Apr 1, 2007

I've been perfectly happy with Access97 and WindowsXP.

But my laptop's circuitboards have deteriorated, and I need a new computer. I'm wondering what the real-world has to say about using Access 97 with Windows Vista. Does it run seemlessly? Please say yes.

I have an application which I've been improving since 1998. I tried a demo of Access 2007, and did not like the way my app interfaced with it, and I don't relish a whole lot of reworking. But I don't want to buy a laptop with an obsolete operating system.

Tell me you've used it and it's wonderful.

Best to you all.

-Curt

View 2 Replies View Related

Another Vista Victim

Dec 27, 2007

I have a new computer with Vista Business and MS Access 2003. ALthough I'm not sure I have Access 2003 because it keeps blowing up with lugubrous error messages

1) Cannot find field ''
2) Out of Memory (I have 2GB and this happens with one dbs open)

I'm dying a slow death due to my vistalobotomy

What is the status of Office and Vista Updates?

Is anyone else having this problem?

Thanks for your help.

View 14 Replies View Related

Access And Vista Problem

Aug 30, 2007

Hi, i have a problem with an access database, well 2 problems. first is i don't know much about databases. the second is at work we installed 3 computers in an office with windows vista o/s. they then had a company come in and install software for their business. They were using office 2000 access database on xp previously. The company installing their software copied the access 2000 database to the vista target machines, i believe they may have converted the database to access 2003 version when doing this. The problem is the database doesn't work and they have called us back in to sort out the problem. Well we installed service packs, fixes, patches etc and googled a lot but found no simlar problems or solutions, in short we are stumped. I think the database is compiled into an app or something with switchboard etc, which i think means i can't access it? anyway it opens up with a logon form to get into DB, i enter the username and password and click ok and it gives a message saying:

"the expression on click you entered as the event property setting produced the following error"

it goes on to say there may be problem with an "event,function or macro"

on vista with office 2003 it lists several possible causes which i havent access to right now.

i have now tried it on my own pc with xp pro and office 2007 and it basically gives the same message as above but the list of possible causes is reduced to this one:

"This error occurs when an event has failed to run because Microsoft Office Access cannot evaluate the location of the logic for the event. For example, if the OnOpen property of a form is set to =[Field], this error occurs because Access expects a macro or event name to run when the event is fired"

Can anyone explain or point me in the right direction of where to get a solution. I think this is something for a programmer to solve and possibly something that the original database programmers should be looking at rather than me. am i right?

cheers all!

View 6 Replies View Related

Access Runtime On Vista

Nov 9, 2007

I created an Access Runtime Database Download on Windows XP. One of my clients downloaded the db to Windows Vista. The installation went fine and he was able to populate the database with no problem. However, now he needs to send me back the data and we cannot seem to access any data files. The backend.mdb file appears to be blank, even know the data appears on the front end. We have tried searching the computer to find any hidden files it might be saving the data to and there doesn't appear to be any. I have tried copying the entire folder containing both the frontend and the backend to a jump drive and looking at the data on a different computer and it appears to be blank. This doesn't seem to happen on any other OS. Since it is a runtime version of Access, I am not able to export any files or even view anything of administrative value within the DB. When I look at the backend.mdb in Explorer, the modified date is old, so it doesn't seem to be adding the data to the backend, even though it is theoretically linked to it. Does anyone know where this data might reside or of a workaround of how to extract this data???

Thanks,

Shelley

View 5 Replies View Related

Access 2000 Compatibility With Vista

Jan 29, 2007

Will Access 2000 run on Vista? I've heard that it will, but I would like to verify that before I purchase the upgrade. I currently use Access '97.

Also, does Access 2000 have to be "product activated" like the newer versions?

Thanks.

View 1 Replies View Related

Important Notice To Vista Users!

May 28, 2007

Important notice from Micro$oft's Knowledge Base:

When you open or are using a Microsoft Office Access database on a computer that is running Windows Vista, you may encounter one or more of the following issues:
• Access appears to stop responding.
• Access responds very slowly.
• Access exits unexpectedly or crashes.

For the complete article and possible work arounds goto:

http://support.microsoft.com/?kbid=935370

View 9 Replies View Related

Vista And Access 2007/2003

Jun 26, 2007

I have a customer that did not read my recommended hardware specs and bought a Vista machine with Office 2007 preloaded on it.

My application uses a Access 2003 database and it is working fine in the Vista environment. The database utilizes Access security and has a database password.

My problem is that I can't see any data that has been entered! I have ran queries and opened the tables, but it is as if there is no data in the tables. However, my application can still read the data...this is a very weird problem! This is a tech support nightmare!

Has anyone had a similar problem?

Thanks for your help!

View 5 Replies View Related

A2003 Query Runs Under XP, Not Vista

Feb 26, 2008

I apologize up front for how long this is, but the queries involved are a bit complex.

I developed a database in Access 2003 running on XP sp2 to score events for our dog club. Everything works. I recently had to migrate to Vista. I installed Access without a problem. No changes to the database were made. Almost everything works except for a few queries. I continually get the error "Object invalid or no longer set." This is not running on a network - it is local on the hard drive. Setting XP compatibility mode and runing as administrator do not help.

The query that is actually causing the problem is the third in a chain, meaning it queries a dataset produced by another query, which in turn queries a dataset produced by a third query. This all works under XP.

I have narrowed the problem down to the ORDER BY statement in the query (I prefer to work in SQL). If I remove one of the sort criteria, everything works, except the results are displayed in the wrong order. It does not matter if I click the "run query" button on my form, or simply execute the query from the list of queries, the same error occurs. This is where I'm stuck.

Here is the chain. This query pulls data out of multiple tables and performs some point total calculations. This one is rather complex, but works fine. It produces a blob dataset of all entries for all events and sets points for each entry.

SELECT tblResults.Event_ID, tblEvents.Event_Name, tblClass.Class, tblDogs.Dog_Name, tblDogs.ID, tblDogs.Owner, tblDogs.Sex, tblResults.Dog_Wt, tblResults.Cert, tblResults.Ex, tblResults.Cplt_Wt, tblResults.Time, tblResults.Final_Wt, tblResults.Dist, tblResults.Place, IIf(tblResults!Cplt_Wt<400,0,5) AS Bonus, IIf([Bonus]=0,0,IIf(tblClass!Class="D",(tblEvents!D_Count-(tblResults!Place-1)+[Bonus]),IIf(tblClass!Class="C",(tblEvents!C_Count-(tblResults!Place-1)+[Bonus]),IIf(tblClass!Class="B",(tblEvents!B_Count-(tblResults!Place-1)+[Bonus]),IIf(tblClass!Class="A",(tblEvents!A_Count-(tblResults!Place-1)+[Bonus]),(tblEvents!O_Count-(tblResults!Place-1)+[Bonus])))))) AS Points, Round(tblResults!Cplt_Wt/tblResults!Dog_Wt,2) AS xbdywt
FROM tblClass INNER JOIN (tblEvents INNER JOIN (tblDogs INNER JOIN tblResults ON tblDogs.ID=tblResults.Dog_ID) ON tblEvents.Event_ID=tblResults.Event_ID) ON tblClass.Weight=tblResults.Dog_Wt;


That resulting dataset feeds the next query, which also works fine. This one sums the points for each entrant by class for the season, only selecting entrants that have been in 3 or more events.

SELECT DISTINCTROW qryAll_Results.Class, qryAll_Results.Dog_Name, qryAll_Results.Owner, Sum(qryAll_Results.Points) AS Points
FROM qryAll_Results INNER JOIN qryPulls_Entered ON qryAll_Results.ID=qryPulls_Entered.ID
WHERE qryPulls_Entered.CountOfID>3
GROUP BY qryAll_Results.Class, qryAll_Results.Dog_Name, qryAll_Results.Owner, qryAll_Results.ID;


This last query is the one causing the headache. This one pulls the 10 entrants with the most points for a class, sorts them by points, then assigns 1st-10th place.

SELECT TOP 10 qryOverall_Totals_All_Classes.Dog_Name, qryOverall_Totals_All_Classes.Owner, qryOverall_Totals_All_Classes.Points, ((SELECT COUNT(*) FROM qryOverall_Totals_All_Classes AS T WHERE T.Class = "A" AND T.Points > qryOverall_Totals_All_Classes.Points)+1) AS Place
FROM qryOverall_Totals_All_Classes
WHERE (((qryOverall_Totals_All_Classes.Class)="A"))
ORDER BY qryOverall_Totals_All_Classes.Class, qryOverall_Totals_All_Classes.Points DESC;

If you remove 'qryOverall_Totals_All_Classes.Points DESC' from the ORDER BY statement, the query runs. If you leave it in, it generates the error "Object invalid or no longer set". I've tried using the alias, but that didn't work either.

Any thoughts? I can post the database somewhere if someone needs to see the whole thing.

View 5 Replies View Related

Problem Running Access 2000 MDE On Vista

Feb 16, 2007

Hi there - hopefully someone can help me out, as we've got clients waiting on my response to this problem!!! :eek:

Anyway, my company produces an Access 2000 MDE which we ship with the Access 2000 runtime (just in case our clients don't have full Access installed)

We've had a number of calls saying that our app doesn't run on Vista, and the error provided points towards a reference problem. However, when I load the MDB on Vista using Access 2007, there are no reference issues.

Is this problem related to Access 2007 reference ("Microsoft Access 12.0 Object Library") somehow being used instead of the Access 2000 one? ("Microsoft Access 9.0 Object Library") - I am about to try uninstalling Access 2007 and running the app again to see if that helps...?

Any help greatly appreciated!

Baz

View 1 Replies View Related

Vista And Access 2003 Reference Issue

Jun 7, 2007

I am using Access 2003 on a vista Business machine and i get an error:

'Function is not available in expressions in query expression Format([Period],"mmm-yy")'.

I also have other problems with functions in queries ie DateAdd etc.

Any solutions?

View 2 Replies View Related

MS Access 2003 Running On Vista Home Basic

Oct 7, 2007

hi there,

i'm thinking about upgrading my operating system from XP to Vista Home Basic, but curious if any users have have experianced any dramas running Access 2003 SP3 on the Vista platform? or shouldnt there be any mayjor problems.



regards


Colin

View 2 Replies View Related

Access 2007: Wireless Network Problem On Vista

Nov 7, 2007

Hello,

I found a somewhat related thread but thought I would post a new one just in case my problem happens to others who were 'forced' to "upgrade" to Windows Vista Home Basic when buying a new machine....

Okay, no more complaining, here's the issue:

I have a small (8 MB) Access 2007 database stored on a machine in the office which is running Windows Vista Home Premium. There are two other machines running Windows XP Home (SP2) that can connect to the Access 2007 database with no issues.

But on my Dell Inspiron Vista Home Basic machine, I cannot successfully open the database stored on the Home Premium machine. I CAN see this database, I can see other files and open/copy them, but I cannot open the database. I am attempting to do this using the wireless connection.

I tried running these two commands as the administrator (found on another forum) because I think this is more of a network problem rather than an Access 2007 problem specific to Windows Vista Home Basic


netsh interface tcp set global rss=disabled
netsh interface tcp set global autotuninglevel=disabled

But these two commands did nothing.

I should also point out that when this database is stored on an XP machine (one of the others in the office) the database opens just fine on this Vista Basic machine!

I'm confused and frustrated! Any help is very much appreciated.

Thank you,
Mike

View 8 Replies View Related

Vista, Ms Access & Windows Server 2003 Corruption?

Apr 3, 2008

In our company we use a windows 2003 server. Our database is ms access 2002. The back end of the db is situated in a directory on the primary HD of the server.
All our workstations use windows professional. The DB works great when inputting data from workstations using widows pro.

I use a vista (ultimate) laptop. It appears that when I enter data from my vista laptop at times it corrupts the backend of the db. None of the other workstations do this.
Is vista a problem here in this situation?

View 1 Replies View Related

Access 2002 Runtime Install Asking For Windows NT SP6 Installing On Vista RC2 5840

Dec 28, 2006

Hi everyone.

Have been testing installation of Office XP Developer Access 2002 runtime package created using the package wizard on a WinXP Pro SP2 machine, for installation on a Vista RC2 5840 machine.

After installing the latest necessary updates such as Office XP Developer SP1 among others which were essential to remove the Path/File error I had, A new error displayed itself as soon as the runtime install package launched.

-------------------------------------------------------------------
Visual Basic 6.0 Setup Toolkit (Error Window Title Bar)

The Office System Pack cannot be installed on this system because it requires Windows NT Service Pack 6 or later.
-------------------------------------------------------------------

I assume Windows NT SP6 has no relevance to Vista ???

Maybe some other update will help here. I have googled for hours to no avail.

Any help greatly appreciated.

Thank you and best wishes for 2007.

Joe.

View 14 Replies View Related

Help With Errors

Jun 9, 2005

When I click a tab (table,queries,reports or module) I receive an error that says (" isn't an index in this table. Look in the indexes collection of the TableDef object to determine the valid index names). Please help.

Thanks,
Kacy

View 3 Replies View Related

Car Event | Few Errors

Jun 1, 2006

Hi all,

i have been sick for quite a while,But back on track now.In the past i was building a car event db and would like to finish it.I have checked it out and there seems to be a few errors that i can't remember anything about.

you must have outlook installed otherwise some missing references come up.also there seems to be a problem with the date on the invoice form,the backup section in utilites.

If someone could have a look and point me in the right direction it would be greatly appreciated.

The file is access 2003 format

View 1 Replies View Related

Database Errors

Jun 20, 2007

I have database which has worked normally, and just made a couple of amendments

I then go to edit a form (which I had not amended) and get an Access has an fatal error etc.

I reopened it. and repaired compiled etc, but absolutely impossible to get into this form. Access crashes every time I try to do something with it. I can't even delete the form.

(This was A97)

There's no problem, I just got my last back up, and imported the changes I had made from the faulty dbs -

I just wondered if anyone else ever got these issues, and what they did about them.

View 2 Replies View Related

Paste Errors

Jan 8, 2008

Hi All,

I've created an Access Database off of an old Fox Pro System. What I need to do is take the data from the tables in the old system and convert them in Access '03. I have roughly 4600 records to transfer.


When I copy the data from the old system and paste it in an Access table, only 300 or so records are pasted. Also, when I check the paste errors, there are less than 100 in there. Where are they going?

Some of the files aren't pasting because there were input errors on some. Others are linked with a department and Acct number and some of those are no longer current, so another reason why some of these records aren't pasting. This is a problem, but should only be around 500-1000 records tops.

I have noticed if I paste less at a time, I get less errors and more are actually copied through, but I don't know exactly how many I should do at a time?


Some questions I have are:

1. How many should I paste at a time?

2. Am I missing something with the paste errors, is there like a setting I can adjust?

3. Is there a better way to convert this old table into a new table?


Any suggestions or comments would be great because I have been stuck on this for a while and I DO NOT want to input these records one by one.

Thank you in advance,

Josh


Here's an email I sent to one of my friends seeing if he had any insight. I might explain my problem a little better here:

Purchasing Department has an old Fox Pro Contract System. I made this same system into Access and it works great. My problem is now converting the tables from the old system into the new system. There are approx. 4200 records. I have tried pasting them all in together and also sections at a time, but everything I do so, I get more or less copied through, and more or less paste errors displaying the ones that hadn’t copied over.

The reason some are not pasting in is because of old user input errors. Another reason is department and account numbers have changed therefore when the copy takes place, if Access doesn’t recognize an Acct number, then it cannot relate it to a department and will not paste in. I’m fine with that though. The problem I’m having is I’m always getting different amounts of errors each time I do this. For example, I did the first 500 records. Had 21 paste errors, all the others pasted fine. I then tried to do less so I copied the first 400 and only received 3 errors, but then I did the next 400 after that and only 200 pasted through and it only displayed 20 or so paste errors. I think there are roughly 400-500 bad records so I’m not understanding why all but those 400-500 paste.

View 3 Replies View Related

Suddenly Getting Errors

Jan 15, 2008

We have an access db that has been working fine for ages and now when we click on a New Record button we are getting the following error:-

Run time error 2105 - you can't go to the specified record. erroring out on the line DoCmd.GoToRecord , , acNewRec. We are not aware of anything changing on the PC that the db is sitting on. I have spent the whole day searching the web but have found nothing helpful.

I have compacted and repaired the db, even went to the form/table security to see if all users can edd/add.

Any help greatfully received

View 2 Replies View Related

Help With Paste Errors

Jan 8, 2008

I've created an Access Database off of an old Fox Pro System. What I need to do is take the data from the tables in the old system and convert them in Access '03. I have roughly 4600 records to transfer.

When I copy the data from the old system and paste it in an Access table, only 300 or so records are pasted. Also, when I check the paste errors, there are less than 100 in there. Where are they going?

Some of the files aren't pasting because there were input errors on some. Others are linked with a department and Acct number and some of those are no longer current, so another reason why some of these records aren't pasting. This is a problem, but should only be around 500-1000 records tops.

I have noticed if I paste less at a time, I get less errors and more are actually copied through, but I don't know exactly how many I should do at a time?

Some questions I have are:

1. How many should I paste at a time?

2. Am I missing something with the paste errors, is there like a setting I can adjust?

3. Is there a better way to convert this old table into a new table?


Any suggestions or comments would be great because I have been stuck on this for a while and I DO NOT want to input these records one by one.....

View 1 Replies View Related







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