Create Field With Quarterly Growth?

Jun 2, 2014

I need to creat a field named Q.

Q is the quarterly growth from the YYZ field.

I have another field, Date, which is obviously the date of the record YYZ.

There is one record per date.

So, how do i compute

Q=Y(t+3)-Y(t)
?

I'm very lost doing this operation.

View Replies


ADVERTISEMENT

Queries :: Compute Year Growth For A Field

Jun 2, 2014

I need to compute the increase for the field Area the following:

yyz(t)-yyz(t-12).

T es month. The table has this structure

Area yyz date Y

Area represents different locations. Each area has only one record per month. Month is obviously the field Date. And Y is yyz(t)-yyz(t-12).

I tried to use DateAdd on access 2013 but the function seems strange, and besides, i don't know how to link
Area yyz(t) date Y:yyz(t)-yyz(t-12).

I just want to create a query in which i can see for each record his yyz value this month and yyz the last year on Y.

View 12 Replies View Related

Database Growth

May 22, 2006

I have been reading through previous posts regarding database bloat and have not been able to find anything that might fix my problem. We have been using this database for many years. We have the same amount of people accessing the database.

The problem is now we are pulling the information from a .csv file rather than inputting it. All the information is put into an AS400 system and then a .csv file is exported every 15 minutes. I have a front-end interface that runs all the append and update queries, make table queries, etc.. None of this is done on the backend. When no users are accessing the information this update occurs every 15 minutes and the database does not grow in size.

However, when the updates are occuring and there are users accessing the database, the within a few hours it grows to 2 GB and is unusable. I have to boot everyone off and noon and compact it. This is not working very well. Is there a way to slow the growth? As I said, no transactions are being done on the backend. All the tables are linked to user interfaces.

Any help would be greatly appreciated.

View 4 Replies View Related

Database Filesize Growth

Apr 17, 2007

Sooo, I've inherited a database application using access, nothing flash, a couple of tables, a few thousand records per table and a bunch of forms/queries driven by Macros (shudder).

Once a week I get an export of a few hundred rows, max, that I drop into this database.

Several people log into the database (no FE/BE at the moment) and do things to these records which adds some rows to a related table and changes a couple of fields in the main table.

The bit that has me raising my eyebrows is that two weeks after inheriting this DB it's doubled in size from a wholesome 20mb to 40mb.
Now am I just noticing this 'bloat' and performance hit more because it's a relatively small filesize database to begin with and Access would be adding about 20mb of crap to a DB in a week or so whether it's 10mb or 500mb in size or is there something fishy going on that I should be looking for?

I've had a little bit of a look around, and other than C&R it regularly (thanks Captain obvious) I've not seen much to explain the bloat in Access and whether this level of file growth is unusual. I do know that this DB will grow to be at least 300mb if I let it, because that's how big it was when I inherited it :D.

View 5 Replies View Related

Quarterly Average

Dec 7, 2004

I need help with a calculation in my form. I have a form named families. IN this form I have 12 check box's, one for each month. I would like to set up another box which would take the average of the past 3 months and tell me what percentage of the time the box is checked. For example, since it is december, I would like a box named quarterly average to look at the past 3 months, obviously september, october and november, and tell me in percentages what the percentage is that the past 3 months check boxes have been checked. This is the basic code which I created for my unbounded box, but I want it to be dynamic, so that it recognizes what the month is today and tells me automatically what the percentage is.

Control sourceis set to =Abs(([Sep]+[Oct]+[Nov])/(3))

Thanks,

Tim

View 3 Replies View Related

Query Help On Quarterly Data

Mar 28, 2006

Hello, I’m new to this board and to Access as well. My Database has two tables. Once contains product data including quarterly volumes. The other contains quarterly pricing data. I’d like to query the pricing data so that it returns the proper price based on the quarter the volume ocurred in. This would then be used to calculate Revenue. How do I write a query to select the correct price based on the quarter value in another table?

Thanks in advance.

Table 1

Product_#_____Quarter______Volume
____A__________Q1FY05________1000__
____A__________Q2FY05________1327__


Table 2

Product_#_____Quarter________Price
____A__________Q1FY05__________7.34__
____A__________Q2FY05__________7.05__

Desired Result

Product#___Quarter___Volume___Price____Revenue
___A________Q1FY05_____1000_____7.34_____$7340.00
___A________Q2FY05_____1327_____7.05_____$9355.35

View 3 Replies View Related

Crosstab Quarterly Sales Query

Mar 3, 2007

I have created a cross tab quarterly query to sjow the 4 quarters sales.

Problem is if there is no sales in one of the quaerters, the report based on that query gives an error as per attached photo and do not open.

any work around

View 1 Replies View Related

Quarterly, Monthly, Annual Advice

Jan 26, 2008

Need a little professional advice.

I have a product table. Those products expire over time. Their shelf life is monthly, quarterly, or annual.

What should I use for monthly, quarterly, and annual in my table.

My first thought was 30, 90, and 365. Then in my query I would use the datediff function. If the datediff was >= to ...then ...

However there are months with 28,29, and 31 days. With this quarterly can change as well. The annual as well by 1.

What is the rule, if there is one?

View 9 Replies View Related

Count Of Non-duplicated Clients On Monthly / Quarterly / Yearly Search

Mar 19, 2014

I'm new to Access. It is obviously a very powerful database program I've developed a data base of my agency's service purchases for a variety of clients. I have to generate a report totaling the monthly purchases and counting the number of unduplicated clients. We make multiple purchases for clients monthly. There must be a feature on this program that will sort through the client ID Numbers and count them (rejecting duplicates) in that one month or quarter or year. I've been exporting to excel, sorting by client ID and then counting each new ID number.

View 2 Replies View Related

Modify Quarterly Sales Report In North-wind Database?

Jul 30, 2015

i would like to know how to replace the sales values in the quarterly sales report with tax values so as to create a "Quarterly tax report" in Northwind.

View 1 Replies View Related

Reports :: Using Form With Command Buttons To Set Criteria - Quarterly Reports

Jul 17, 2015

I am using a form with command buttons on it to set the criteria in my query to run the report.

Example : cmdQ1 'Command Button

PHP Code:

'1st Quarterly Report.
BeginDate = DateSerial(Year(Date), Int((Month(Date) - 1) / 3) * 3 + 1, 1)
EndDate = DateSerial(Year(Date), Int((Month(Date) - 1) / 3) * 3 + 4, 0) 

I managed to get this far but need to continue on with 2,3, and 4th quarters.

View 8 Replies View Related

Create A Field Value From A Another Field With Many Values...help!

Jan 5, 2006

I really need some help with this! I have a table with a field called [days.out]. It contains values from 1 to about 350, non sequencial with duplicates. I would like to run a query that would create a new field called [days.grouped]. This field would contain the word "1-15" if the value was between 1 and 15 in field [days.out] and "15-30" if value was between 15 and 30 in field [days.out], etc....

Hope someone can help me!!

View 1 Replies View Related

How To Create An Expire Field?

Aug 21, 2006

I would like to create an Expire Indicator field. This field would automatically check against today's date and if the Expiration_Date equals to TODAY, the indicator would automatically be set to YES.

Does anyone know how to create this field in the table?

Thanks in advance!

View 4 Replies View Related

Create AutoNumber Field

Dec 20, 2005

All,

I have trawled boards and sites, but cannot find the answer!

I have a make-table query, and I wish to create an AutoNumber field.

Now I know that if you put fieldname: "" , a Text field will be created and if enter fieldname: [] then a Binary field will be created.

Is there a code I can use to create an AutoNumber field?

Help appreciated!

Regards,

Jempie

View 5 Replies View Related

How To Create A Pop-up Search Field

Dec 21, 2005

I have an extremely large database which is in a continuous form format, and what I would like to happen is, instead of using the find button that would just find a word, I would like to have a pop-up search box that would yield actual texts throughout the DB (something like the search feature in Adobe Acrobat). In addition, I would like to use the "and" or "plus" together to search for additional data if needed. Please, unless there is a sample I could download and use in my db, please be specific in your instructions since I am new to all this.

Thanks!!

View 1 Replies View Related

Create FieldNames Using Field Value

Aug 20, 2004

I have a table in an Access 2000 database: [SAP_Survey_Answers] that contains FieldNames: CO_ID, ES_ID,
PKey, QFieldName, QAnswer. The *_ID are ID#, QFieldName lists the questions in a survey, & QAnswer corresponds to the QFieldName and gives the answer given by the customer. Here's the dilema: I need to create a new table with CO_ID, ES_ID as Field Names BUT I also need each question as a new field name. How can this be done? Query? SQL statement? I've been racking my brain on this one. Any help would be greatly appreciated!

View 3 Replies View Related

Create Field With Fixed Format

Jul 18, 2005

I need to show two decimal places on a form based on a recordset of a table that has a field - type = double, format = fixed, and decimal number = 2

I need to show 101.00 and 102.00 so if user insert a record, record would have a sequence id of 101.05.


How do I create that field by code? The table is part of a system loop that it changes everytime thats why I have to recreate the table again and again.

I can do the double, I cant do the fixed and decimal number.

Please please help.

Thanks.




NEVER MIND, I FIGURED IT OUT.

Instead of including it with the code, I tweaked how the form displays it.

Thanks.

View 1 Replies View Related

Create Random Member ID Field?

Nov 3, 2004

I have a database that I took over for a small group (it has about 400 records), and they want to add a field for "Member ID", to use for member badges and whatnot.
A friend tried to help me by suggesting the "Change the starting value of an incrementing AutoNumber field" from the Access Help File, but I don't necessarily want incremental numbers, I just want a string of perhaps 8 numbers in no particular order, and obviously, unique to each record. I also don't understand how I can get that to work in pre-existing records...

So, what I'm wanting, in a snapshot, is:
83928475 John Smith 123 Any St
93827221 Mary Jones 678 Market St
19182734 Elvis Presley Graceland
etc...

I was thinking that perhaps a formula could be created in a query? Heck I don't know!
I only know enough about Access to be dangerous, so I appreciate anyone's help!

THANKS!
Matt

View 4 Replies View Related

How To Create A Table With An Autonumber Field

Dec 4, 2004

Hi,
I'm new to this forum and have a question:
I want to create a table with an Autonumber field using a SQL statement,
in Microsoft Access Database, something like this:
Cnn.execute "CREATE TABLE newtable (id Long, Name Char(100)) "
is there something to put in place of "long" to make the field autonumber?
I tried the word "autonumber", but did not work.


Many Thanx.
Hadi.

View 3 Replies View Related

Queries :: Create A Field Using IIF Function

Jan 28, 2014

I am trying to , create a field using the IIf function that will display a $250 bonus for agents every time they sell a car for at least $20,000. Otherwise, the function will return a 0. Name the field Bonus. I put in Bonus: IIf(SalePrice >= "20,000" Then + "250",True, 0) and it is saying that I have an improper syntax.

View 2 Replies View Related

Tables :: How To Create A (unique) Field

Nov 12, 2012

I have a table as followed;

EmployeeID: PK
FirstName
MInitial
LastName
Company:FK
Department:FK

What I want to do is create a new field that automatically populates based on what is entered into the above fields.

Essentially creating a single field with unique data generated by multiple fields.

For Example if I entered the following informaiton:
EmployeeID: 1 (AutoNumber)
FirstName: John
MInitial: P
LastName: Doe
Company: FederalGov
Department:Test

The new field can be generated as followed: JohnPDoeFederalgovTest

What i plan on doing with this is making this "generated" field an index so no new duplicated records can be added.

View 5 Replies View Related

Forms :: How To Create Autonumber Field

Sep 12, 2013

I created a database of "My Cars", "Television", and "Wines" and a Trouble Reports(TR) for each. I have a field TR on each and for now a user can fill it up with number i.e first TR is 1, second Tr is 2 etc etc. I want it automatically filled automatically not manually. However, I want it to do the same for "Television" and "Wines" when I write Trs on them. I am a rookie and I dont know how to do it I attached a copy of the db I created.

View 2 Replies View Related

Modules & VBA :: Create Table Yes / No Field

Aug 26, 2014

I have the following vba script and I can not get the yes/no field to work, also with adding field properties of required = yes and the text field to be 50, just examples are fine and I will update what I want.

Code:

Sub test()
Set Db = Application.CurrentDb
Set tdf = Db.TableDefs("1Testing") ' 1Testing is your table name
' First create a field with data type = Text
Set fld1 = tdf.CreateField("FieldT1", dbText) ' Field1 is your Field Name and formatted as text

[Code] ....

View 1 Replies View Related

General :: Cannot Create A New Record In A Field

Feb 9, 2013

i am trying to have a continuous form where i have a combo filter to filter the records. i would like to be able to add records on this form but i keep getting an error

Field cannot be updated

runtime error 3348 cannot add record(s); join key of table 'tblOrdersItems' not in record set.

the table system for the relevant tables is a one to many.(parent / Child).it seems to work beautifully. i have the unique id fields of both tables in the form. i have the foreign key of the parent that is bound to the child form.

when i create a new record the error message appears. when i click end. i can see that the id fields have been populated and they look as they should. i cant seem to grasp what join key is not present. open frmDiaryNoneItems. there is a combo box in the header that you will need to toggle to show some records. try and create a new record and you will grasp what i mean.

View 5 Replies View Related

Tables :: DDL To Create Timestamp Field

Jun 18, 2014

I'm trying to use DDL to add a DATE field as above with NOW() as the default value..

I am using the same syntax pretty much (Altering instead of Creating a table), but its not working..

The error I get is:

err.number = 3293
err.description = Syntax error in ALTER TABLE statement.

Code:
CurrentDb.Execute "ALTER TABLE MyTable ADD COLUMN RecordCreatedDate DATE DEFAULT NOW()"

View 11 Replies View Related

How To Create Field Whose Name Ends With A Blank?

Mar 19, 2015

I have a very unusual situation where I need the name of a field in an Access table to end with a blank (i.e. space). I tried doing it trivially while in Design View but no dice. I tried it through some SQL along the lines of the following pseudo code

Select [old table].[Address] as [Address2 ], [old table].*
Into [new table]
From [old table]

but the new field's name "Address2 " lost the final space.A third try was through some syntax for an Alter Table statement to add or modify a field. It didn't pan out.

View 2 Replies View Related







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