473,466 Members | 1,286 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Advance Query..Urgent

Dear All,
I have written a query in Oracle.It is actually doing a running sum
for a particular field.I am giving the query details
================================================== ===========
select
accountcode,
datefield,
voucherkey,
drcr,
amount,
sum(decode(drcr,1,amount,amount*(-1))) over
(partition by accountcode order by datefield, voucherkey) as RunnigSum
from Accounts
================================================== ===========
But I need the equivalent query in MS Access.But I didn't get the feature
"partition by".Please advice me how to move..
Regards
Arijit Chatterjee
Nov 13 '05 #1
3 1428
Arijit Chatterjee wrote:
Dear All,
I have written a query in Oracle.It is actually doing a running sum
for a particular field.I am giving the query details
================================================== ===========
select
accountcode,
datefield,
voucherkey,
drcr,
amount,
sum(decode(drcr,1,amount,amount*(-1))) over
(partition by accountcode order by datefield, voucherkey) as RunnigSum
from Accounts
================================================== ===========
But I need the equivalent query in MS Access.But I didn't get the feature
"partition by".Please advice me how to move..
Regards
Arijit Chatterjee


Look up "crosstab queries" in Help to get the Access SQl equivalent to
"partition by".

I don't believe it's possible to do running totals in queries, though
you can do them in reports via the RunningSum text box property.
Nov 13 '05 #2
Thanks for the response.But I don't need the "Cross Tab" output.Can
anyone tell me what the substitute of Trigger in MS Access.If I am
inserting some data to a particular table.Is there any way to identify
that from database end.
Regards
Arijit Chatterjee
Nov 13 '05 #3
Arijit Chatterjee wrote:
Thanks for the response.But I don't need the "Cross Tab" output.Can
anyone tell me what the substitute of Trigger in MS Access.If I am
inserting some data to a particular table.Is there any way to identify
that from database end.
Regards
Arijit Chatterjee

No, there is not.

Nov 13 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: JD | last post by:
I'm using MS Access 97 in an XP environment. I have an append query at the top of a query tree that is behaving strangely. From design view, I can choose view datasheet - and I see one set of...
1
by: Joe | last post by:
Dear Friends, How do write the below dynamic update Query? I am new to this SQL Query.Its very very urgent requirements. If anyone knows please help me the below SQL query. I would appreciate...
3
by: N. Spiker | last post by:
I am attempting to receive a single TCP packet with some text ending with carriage return and line feed characters. When the text is send and the packet has the urgent flag set, the text read from...
5
by: shawn.dba | last post by:
Hello. Thank you in advance for your time. I'm trying to query a set of groups in ActiveDirectory and output the members of each group. I'm not receiving output. The object tab of one object...
2
by: JHNielson | last post by:
I Know I've posted an Urgent message before. But I'm in the middle of system testing, and these little stupid bugs are killing me...... I have a query that checks that a set of values (the...
1
by: write2ashokkumar | last post by:
hi... i have the table like this, Table Name : sample Total Records : 500000 (Consider like this) Sample Records: id ------------ name
3
by: limperger | last post by:
Hello everyone: This question is neither urgent nor important, but I post it just in case anyone knows (and wants to give a reply, of course XD). I have little idea of VBA, but I have dared to...
1
by: padmaneha | last post by:
I executed the below query for getting the details of dishes which are tagged to the festival 'Durga Pooja' select fg.tagname, fg.foodid, f.dishes, f.dishtype from foodtag fg inner join food f ...
3
by: Steve | last post by:
Hi All I am using VB.net 2008 and use timer controls within my applications Question Does the code in a Timer control.tick event run on a different thread to the main Application thread (UI...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.