Removing Previous Data

Nov 5, 2006

can someone help:

in a form I've created showing products bought, when I add a new new order it still keeps the previous order's data, how can I prevent that from happening?

cheers

View Replies


ADVERTISEMENT

Removing Particular Data From Drop Down Menu

Mar 23, 2006

Hi
New to the boards.
The database i have created needs data removing from it when certain criteria arent met. Basically, when the form is filled in and the person is under 25 i need one range of data to be removed from another table leaving the ranges available to that person. how would i initiate this?
any pointers or links to where i can find this out (anything, i am desperate!!! :) ) would be appreciated

Thanks

View 1 Replies View Related

Removing CR, Line Breaks, And Tabs From Data

Oct 31, 2005

I'd like to run a search and replace on a query result to remove carriage returns, linek breaks and tabs from the data. I know that MSWord has character aliases that will allow you to do a search and replace - does Access have an equivalent for these?

Thanks!

Susan

View 11 Replies View Related

Removing Address Field When It Contains No Data In A Report

Mar 5, 2015

I created a report to print out a letter that will be sent to all of our clients. In the address section of the letter there are two field for adresses...Address1 and Address2. One is for a street address and the other for a PO Box. Not all of the clients have a PO Box and for these, I do not want the blank line to show in the address. For example:

John Doe
3 Main Street

Franklin, MA 02038

The field and section of the report are set to "can shrink" and "can grow", but it still gives me a blank line in the address for the clients that do not have a PO Box. What else do I have to do?

View 8 Replies View Related

Reports :: Removing Small Value Data Labels In Stacked Bar Chart

Jan 23, 2014

I would like to remove small value datalabels in a stacked column barchat.

If you look at the image attached, the small value datalabels tend to clutter the image.

My graph is a MSGraph.Chart.8 inside a Report.

I am working with Access 2010.

Looks like the only possibility to remove the small values is to do that programmaticaly in VBA.

I would like a method that I could call with two parameters : graphname and a threshold value as of which small value datalabels are not displayed.

View 7 Replies View Related

Queries :: Removing Special Characters Where Original Data Length Varies

Mar 1, 2014

I thought I had solved my initial problem of removing the apostrophe character for each zip code field. Most of the fields have data that reads '12345-1234'. I want to remove each (') character and the "-1234" so I end up with a zipcode of 12345.

I created 2 queries for this process. I first run a query with the following statement "Left([ZIP],Len([ZIP])-6)". That gets rid of the "-1234' ".

The I run the second query with this statement "Right([ZIP],Len([ZIP])-6)".

These 2 queries work perfectly if the original zipcode is " '12345-1234' ", but if it is " '12345' ", the entire zipcode is deleted.

I have attached 3 (.jpg)'s to show you what I am talking about.

View 7 Replies View Related

Compare Previous Row's Data To Current Row's Data

Oct 28, 2007

I have a task that will require me to subtract the current time from the previous time as long as the records fall within the same Extract Count. For example:
I have 8 transactions associated with ExtractCount #2 and 8 start/end & processing times. I need to subtract each row's time from the previous row's time. I have a conceptual idea of how to do it but need real help to figure out how to do this using a query.

Thanks,
Phoenix81

View 4 Replies View Related

Keep Previous Data

Mar 20, 2006

Hi Guys,

I'm pretty new in the access world and I'm trying to build my first Database! I've a question (I bet really simple): I'd like to know how it is possible to keep previous data that I've entered in a form when I open it a second time.
Thanks a lot for you help

View 3 Replies View Related

Using Data From Previous Record

Apr 2, 2005

I'm a novice with Access but I thought I would use Access rather than Excel to record fuel use for our vehicles because the reporting functions should be more powerful.

I have set up a table where I input date, vehicle, member of staff, mileage of the vehicle and the cumulative reading from the fuel tank meter. I thought it should be simple enough to calculate the fuel used each fill by taking the meter reading away from the reading on the previous record, but I cannot find a way of getting Access to do this.

I am missing something obvious or not?

Thanks,

Henry

View 1 Replies View Related

Get Data From The Previous Form

Feb 3, 2006

Hi guys,
I have created 2 forms, where the first form is where people(who are using it) have to enter their ID#(3-digit). Then I want to connect the 2 forms together, by having a button on the 1st form that will open the 2nd form. Then I want one of my field on the table associated with the 2nd form to be automatically populated everytime there is a new entry(with that ID# on the first forms).
I have been unsuccessful during this time. So everyone who use that 2 forms has to manually enter their ID# everytime they want to create new entry.

I put this on the Text Box(where I want the ID# to be automatically populated), on the Default Value : "=[Forms]![f3_sel_exp_id]![sel_exp_id]"
But the result is: "#name?"

Something wrong with coding?? I ran out of idea.

Thank you guys..

View 3 Replies View Related

Data From Previous Record

Dec 17, 2006

I have still not solved the problem wich is doing my head in!!!
In the following DB I have the "frm1" wich the value of the first record for "Value1" is 10 when I pass to the second record Iwould like to show automatically the value 10 in the field "Value1" this for all the records untill I change toa new value so from then on it will show the new value.
I believe is the Dlookup function, but I have not find the way to make it work.
I must be thick but I need your help!!!!!
Thanks

View 14 Replies View Related

Copy Some Data From Previous Record To Next

Apr 12, 2006

Hi
I need to copy some data from last record to next(New record), when a user clicks a button on a form. I don't want to copy all the data.

An example would be booking in items from an invoice:
Company would be the same
Invoice number would be the same
Product code would be different
quantity would be different

Hope this makes some sence, and i'm not being stupid:rolleyes:

Andy

View 1 Replies View Related

Query To Look For Previous Months Data

Jun 1, 2005

Hey Guys,

I've been racking my brains on this one and need your help. I was asked this question by a friend who has just set up a database for a non-profit organisation in the UK. I have attached an simple example database to illustrate the problem.

There is a table called "tblMembers" which contains data on members of clubs and the dates their membership expires.

There is a query called "qryExpiryCrossCheck" and it needs to display people whose membership has expired in the previous month (i.e. May 2005).

Sounds easy? Well the query needs to know that 'now' is June 2005 and that the previous month is May 2005 and then as I said display people whose membership has expired in the previous month.

Any ideas/solutions would be greatly appreciated. As I said this is a favour for a friend who is carrying out some free work for a non-profit organisation.

Cheers,

Rusty
:D

View 3 Replies View Related

Copying Previous Data (cloning)

Jun 15, 2006

Hi,

i need help regarding copying previous data in a table (as a cloning method).
i have a form with continous records. near each record, a button was created that opens in another form which contains various fields.

in order to facilitate time, i created a button on the second form to be able to copy previous data for the respective records on the first form.

but the problem happens if there are 3 fields all of them have to be filled in to be able to perform the copy operation.

for example:

port = rs!port
vessel1= rs!vessel1
vessel2 = rs!vessel2
rs.movenext
rs.edit

all fields must be filled that is port, vessel1, vessel2...and if only port and vessel1 field is filled, this cannot be copied for the other records.

can anyone give me suggestions about how can i make it in a way that it copies data irrelevant of what fields have been entered.

any help will be much appreciated.

thanks a lot.

View 11 Replies View Related

Holding Previous Record Data In New Form?

Aug 21, 2006

Hi there! New to Access and this forum.

I am creating a form to update a table of records. The table represents purchase order assignments and I need the next sequential purchase order number (as per the order number from the previous record) to be displayed in the new record (order field) on the form.

Table: Orders
Field: OrderNumber

Form: Manual Orders
Data Entry Field: OrderNumber

Form was created using wizard.

Anyone able to help?

View 1 Replies View Related

Text Box Data Contingent Upon Previous Combo Box

Mar 28, 2006

I have a combo box where I select a Hardware store. I want the address for the store to come up if a hardware store is selected. If one is not selected I want to be able to enter an address.

I have a vendor (hardware store) table, which contains the Hardware store and it's address. I can get the combo box to show the store selections but I can't get the address to come up after I select the store.

Is there a way to link text boxs to a combo box??

Thanks, Joe

View 2 Replies View Related

Holding Previous Record Data In Form...

Aug 21, 2006

Hi there! New to Access and this forum.

I am creating a form to update a table of records. The table represents purchase order assignments and I need the next sequential purchase order number (as per the order number from the previous record) to be displayed in the new record (order field) on the form.

Table: Orders
Field: OrderNumber

Form: Manual Orders
Data Entry Field: OrderNumber

Form was created using wizard.

Information I would like to display is the content of OrderNumber Field +1.

Anyone able to help?

View 2 Replies View Related

Reports :: Report Showing Data From Previous Run?

Feb 9, 2015

I have a REPORT containing 7 ('columnar') subreports. Each subreport is to show showing a days worth of medical doses.... to visually represent a wall planner.

When the report loads - user enters a week value # via Inputbox(). This value is written to a TEMP table. Each subreport accesses this same TEMP table to retrieve the week # value. In the Recordsource for each subreport I have the following code :

SELECT * FROM GETPATIENTREADINGS_WEEK WHERE (((Format([DateR],'ww'))=DLookup("WeekVal","[TEMPTABLE]")) AND ((GETPATIENTREADINGS_WEEK.DayVal)=1));

... where the DayVal goes from 1...7 corresponding to the columnar position of each subreport on the display ie. for each day of the week.

The problem I am having is that when the report runs - I see the display showing the data from when the report was previously run. ie. I have to run the report twice to see the data for the correct week value entered. All the SQL works as expected when I run from Query view but when I run through VBA..

View 3 Replies View Related

Forms :: Data Entry Items Only If Previous Has Value

Mar 7, 2013

I'm creating user form items (text boxes/combo boxes) for a user to enter data in. In this case it would be for a part. What I would like to happen is, if there is more than 1 part, then after the first part is entered, another part entry item is added below the first one but only if the first one has a value - for a virtually unlimited amount of parts. BUT if there is only say, one part to be entered, then the next section of selection appears directly below the blank next part. Sooo, something like this.......

Invoice:

Part1: (THE PART HERE)
Part2: (THE PART HERE)
Part3: (THE PART HERE)
...
...
...
...
Partn: (THE PART HERE) - blank

(aButtonThatProcessesThis)

OR.........

Invoice:

Part1: (THE PART HERE)
Part2: (THE PART HERE) - blank

(aButtonThatProcessesThis)

Is this possible?

View 2 Replies View Related

Calculated Field Utilising Data From Previous Record

Sep 14, 2004

Somebody please help me!!!

I am creating a database that will record the details of approx 30 shops and will store information on Annual Turnover, Profit, Return, etc.

I need to create a field that will calculate the increase/decrease in annual turnover between the current year and the previous year.

So far I have created a subform that will show the last 12 years of data for the particular shop, but now I need to add a calculated field that will get the current years turnover and also reference the turnover for the previous year, i.e. the previous record., and display the result. The other thing that I will need to do, is to have this field not calculated for the initial years trading, so this field will need to be hidden in the first record.

Can someone please offer some advice on how to go about achieving this???

View 1 Replies View Related

Queries :: Comparing Data From Current To Previous Years

Oct 9, 2013

I have a table which is used to record electric billing period dates, total kWh and costs for a list of locations each month. I would like to compare the quarter total kWh and costs for this year "2013" against same quarter last year "2012". I have created two queries, the 1st is capturing data from 2013 and the 2nd is capturing data from 2012. I created a 3rd query which joins the 1st and 2nd together by month where fields match. Both tables have the same fields, however there is more records in 2012 than 2013. How can I join the tables together so months that have no data are left blank?

View 14 Replies View Related

Queries :: How To Create A Query Which Gives Data From Previous Year

Mar 4, 2014

I am trying to create a query which will return records which are from a specific month of the previous year...

To better explain:

If I have sales from 2013 and 2014 in Jan, I want a query which will show me the results from Jan in 2013 only... I'm just unsure on how to make a query do this and it's probably really simple.

But then in 2015 I will want it to show results from 2014 without having to change the expression or criteria.

View 4 Replies View Related

Clear Previous Data Entered In Parameter Form

Dec 16, 2013

I have a parameter form I used to enter data for a query. I want it to clear any previous data entered when it opens. I have tried the below without success. I also have the fields defaults set as "" and the form set at yes on data entry.

Private Sub Form_Open(Cancel As Integer)
Me.BldgCmb.Value = ""
Me.StateCmb.Value = ""
Me.CityCmb.Value = ""
Me.AddCmb.Value = ""
End Sub

View 3 Replies View Related

Pulling Data From Previous Record To Fill Subform

Dec 4, 2012

I have a subform that is embedded in a main form. The database itself is a few years old and so I think redesigning is out of the question. What I am wondering is if there is any specific code that can go into the tables themselves and populate the form based on the previous record. I would like for the Transfer to Rehabber fields (To and Permittee) to be duplicated on the Transfer From Rehabber fields (From and Permittee) on the next record. Do you think that there is code that will be able to achieve such a thing?

View 12 Replies View Related

Forms :: Can't Edit Or Add Any Data In The Subform Results With Previous Setting

Mar 28, 2015

i've got a Form that contains Subform with an embedded Query that contains 2 tables only (Payments & Invoices) the Join properties between them show all records from payments and what matches it from Invoices where the joined fields are equal (Invoice no).. So, when i enter certain data in the main form the Subform show the results for it from Payments table and only one field needed from the Invoices table !!

The problem is.. i can't edit or add any data in the Subform results with the previous setting, but when i completely remove the Invoices table from the embedded Query then swift to the Form and it's Subform.. i become able to edit and add data in the Subform easily... !!

So, how to enable the edit/add in the Subform with the 2 tables in the embedded Query ?! Cause it's really needed to show that field from the Invoices table.

View 3 Replies View Related

Queries :: Enabling / Disabling Fields According To Previous Data Entry

Aug 6, 2013

I need to create a form to enter data from a survey, and ideally some sections of the form would only be completed when the answer to a first question is "yes". How to do this enabling/disabling of fields for data entry?

View 3 Replies View Related







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