Can anyone please help me, I currently have a series of queries that are called by a macro, these create a number of tables. But when each query runs it provide a prompt stating what it is doing, my question is can these be stopped so that the queries run without a user being present.
I have a DB that runs an update, delete and append queries and turned off the Confirm prompts under the edit options. The problem is this turns off the confirms for ALL Access applications. Does anyone know how to turn off the confirms only in one specific db rather than the entire access?
This may just be a MS XP thing, but when I open my Database it gives a series of 3 prompts to open the database. The first is a security warning for unsafe expressions, do i want to block them or not, the second is telling me that only MS Jet 4.0 service pack can block the unsafe expressions, do i want to open my database, the third is an actual open, cancel or more info prompt saying code could harm my comp.
how do i get rid of these or at least get it down to only one prompt?
Hello I try to print some reports one-by-one using a button . In the no_data event of each form I've added a message box informing the user that the form will not be printed due to the lack of records. Everything is ok so far. However, after my message box appears and I press ok, a run-time error '2501' occurs informing me that the "openreport action has been cancelled" and promting me to end/debug the vbcode. Is there a way to by-pass this "error" and carry on without having to end/debug the project? Thank you in advance
I am having a problem with a database. On one particular computer, a user tries to save data into a current database. The database prompts the user for a password. No password is set on the database. From what I have gathered from searching the internet, it appears that the database would be corrupt, but not so fast. About 20 other people use the same database and have no problems entering data into it without getting a password prompt. Even the same user that is having problems can enter data into the database from another PC, it is only this one PC that it is prompting the user for a password. Has anyone else experienced this problem and what can I do to fix this issue without re-imaging the PC? Thanks.
I have a blank report and dragged two queries to it so that they are displayed on it. Both queries prompt for a Customer code. How do I get it that I only have to type it in once rather than for each query prompt?
I am using several queries with Region Codes coded in the query. My reports are also based on the individual queries and has a Record count statement as well --
=DCount("[State]","Reporting Query1"). All is working fine.
Now to minimize the number of queries I need to write, I want to prompt for the Region code. I can do that [Enter Region Code:]. It prompts and the report shows the expected output (only records for that region code) BUT my count statement ceases to work and I get #Error instead of the number of records. This happens no matter which field I set to prompt.
Just wondering if anyone has come across this problem or might have suggestions for a solution.
I have a Form A that contains a Listbox populated using a query which uses another field on Form A as a parameter for query selection criteria. During the Unload process for this form MS Access pauses to request a value for the parameter instead of exiting from the Form. Why is it so and how can I stop it.
Additional notes - this form worked perfectly in Access97 but this problem is occuring now that I have moved to Access2000. I am running Access2000 on a WinXP platform.
I am basically making a form to streamline the processes and functionality of my database project, so basically it's just a form that runs queries.
However, whenever it runs an action query, it always brings up a yes or no prompt for whatever action it is doing. Is there any way to disable these prompts (i.e. default yes to everything) or is this just an annoyance I will have to deal with?
I have a database with loads of different sales data from Jan 2014 with other product details as well. I also have a form where the user can input any of these data (this is based on a query):
- Campaign name - Exact Date - Month - Year - Category - Campaign Type
This should run the query, then open a report that's grouped by:
1. Year 2. Month 3. Exact Date 4. Dem name
Even if the user inputs the month and year on the form, when reopening the report, it prompts for inputting the year and month as well, but nothing else.
I had created a query that I was attempting to reference a text field in a form that was open when the query is run. It wasn't working and whenever I opened the form it would prompt for the parameter before opening the form.
I ended up deleting the query to try again from scratch. But the form still asks for the parameters whenever I open the form. Why is Access still prompting me for the parameters?
I am relatively new to Access and I was wondering if there is a way to automatically respond to delete table prompts when running a macro.
Currently I am running a macro that takes about 2 hours, and sporatically asks 'are you sure you want to delete table x'. I have to check on it every 10min or so to respond 'yes' or it will pause the macro. Quite a hassle if I am busy with other tasks and forget to check it.
I realise this issue is a common one and it is usually down to simple typos (I've looked at several similar posts) but none of the advice I've seen has solved my problem. I've designed the following Union Query:
SELECT [Email],[Title],[First_Name],[Last_Name],[Company],[Phone],[Country],[TEST_AND_MEASUR],[REC_AND_PROD],[LOG_AND_TRANSC] FROM [Region 1]
UNION ALL SELECT [Email],[Title],[First_Name],[Last_Name],[Company],[Phone],[Country],[TEST_AND_MEASUR],[REC_AND_PROD],[LOG_AND_TRANSC] FROM [Region 2]
UNION ALL SELECT [Email],[Title],[First_Name],[Last_Name],[Company],[Phone],[Country],[TEST_AND_MEASUR],[REC_AND_PROD],[LOG_AND_TRANSC] FROM [Region 3];
It should be very simple and I've checked it over and over, but when I run the query an Enter Parameter dialog appears prompting me to enter Email.
If I just click OK I get all the records but with the email field blank.
Similarly if I type x@y.com it returns all records but with the email fields all containing x@y.com
Advice would be very much appreciated!! Thank you in advance.
I'm not good with access at all, i'm basically after removing all workgroup protection from a database file. I have full access to the file, admin passwords etc, i'm just having serious difficulty trying to find a tutorial or any information regarding how it can be removed!
I use the template service call management . In the work order section there is a field called Entered By . I would like to remove it as I do not need it and if you do not enter it the work order will not complete . Is there a way to remove it or make it so you do not have to enter anything there >> I have tryed to remove it but somehow it is connected to some thing else and I get error
I am totally new at this database stuff. I have been searching the archives for a couple hours and confused on how to accomplish what I need to do. I saw references to using a module but I have not used that feature yet.
I am using Access 2003. I need to remove/delete " - " space dash space, "-" and "&" from a string in one field (DGName). I'm trying to do this with a make table query
DGName P1000 P1000 - SMLS P1000-CA (not a type error) UD000 - C&B V-NET
I posted an earlier question about an Access query export to Excel putting leading apostophe (') before all data. To remove them I thought I would use Find/Replace but the Apostophe is not recognised!
Is there a way (programmatically) to remove the first character of each data entry in each cell in a column?
I have a table that has mutliple records for the same person. I know how to create a query to remove duplicates but i don't know how to create a table to remove duplicates but keep the most recent record. Is this possible?
ie client status date 123 A 1/1/07 123 C 2/5/06 123 A 9/3/07
When I ve gone in and deleted a record from my table (new table just testing it) ie. enter number 1 deleted it and than gone in and entered (on the form) another enter the (auto number) goes to 2. I want to know how to i get it to go back to the previous number.
Both tables contain the same data; however the “tmptable” contains updated data. How can I compare both tables and remove all the duplicate in the tmptable, leaving only the updated data.
I will be comparing the fields “IsMandatory” from both tables