Transfer old orders

Royal Presence

Board Regular
Joined
Feb 27, 2003
Messages
92
Hi,

I am still working on my tree view. Thank you very much. I will get this concept fully one day. Right now, I am just using buttons and hyperlinks for the main menus.

Anyway, I have a new question:

Is this a good idea or a bad idea? I have an order processing database that has experienced several design changes. It is working lovely for the data entry people, and okay for the viewers, I'm working on that now. However, I want to take 2004 orders and put them all in a separate db when the end of this calendar year occurs and then just keep our
clients and addresses, etc., same table structure, order form, etc., for new 2005 orders. Then I can just refer via linking when people need to reference any history.

Sounds like a good idea and will help with production week dating, but does it make sense or am I on the wrong path.

Thanks.

Paula
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Guess it depends on how many records you have. You can archive the old stuff to another database, but a better method might be to create a Yes/No field called Archive and build an Update query to flag old records.
Then, in the other queries in the db, put the Archive field there and set the Criteria row to 0.
If at some point you want to see all records, remove the criteria and they're back.

Denis
 
Upvote 0
Do the orders have a date field?

If so you could create queries to only show old/new data based on that field.

I would say that you should keep all the orders in the same database, users mat want to query/analyze historic data.
 
Upvote 0
Yes the orders have a data field, lots of them actually, order date, ship date, change date. You have me thinking, now. Could my present reports pull up new (2005) data as is, or would I need to add anything to all my queries?
 
Upvote 0
You can set a filter to run in code, when the report is opened.
IN Design view in the report, go to the report's event code (Event tab in Properties). Double-click the blank line next to On Open. You should see [Event Procedure] in this line. Now click the ... button on that line to put you in the code module. Enter these lines:

Me.Filter="Year([NameOfDateFieldToFilter]=Year([FieldThatHoldsTheFinancialYearCalc])"
Me.Filter=True

Change the field names to suit. Once it's working, you should see only the current financial year's data in the report.

An alternative is to go to the query behind the report and put a filter in the Criteria row.

Denis
 
Upvote 0

Forum statistics

Threads
1,221,813
Messages
6,162,126
Members
451,743
Latest member
matt3388

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top