473,387 Members | 1,504 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Locate same or changed values

I would like to write a query to identify when an EFT/Direct Deposit transactions bank account details (BSB, AC) change when the identifier (iD) remains the same, ie

iD DatePaid AmountPaid BSB AC
1 1/1/2010 $5000 012 4444444
1 2/1/2010 $25000 012 4566657


I would also like to identify when different iDs have the same BSB and AC, ie

iD DatePaid AmountPaid BSB AC
1 1/1/2010 $5000 012 4444444
5 2/1/2010 $25000 012 4444444
7 3/1/2010 $5666 111 456789
Dec 14 '11 #1
3 1527
johny10151981
1,059 1GB
You cannot get a built in solution.

but you can follow some strategy
such as:
1. Forbid deleting payment record. (If you allow its a violation of accounting)
2. Forbid editing payment record.(its a violation of accounting)

Now if they are not a big deal:
then when you delete do not delete the actuation record use another column to figure out whether it is deleted or not.
And When you edit make a record of original account row. create a backup, keep track of the editor.

but if you ask about deleting from original table manually, by manually I mean using other database client like phpmyadmin, mysql_client or other things then nothing to say
Dec 14 '11 #2
The Id maybe someones name. So what i am trying to do is identify when a customers bank account is changed at the individual transaction level. The bank account is allowed to be changed, however i want to identify it when it occurs as a potential fraud check.

Also for internal fraud purposes i want to identify if two customers have the same bank account.
Dec 14 '11 #3
johny10151981
1,059 1GB
Well in that case when you get a request to change the bank account, or when you receive a new transaction request a update then take an immediate look at previous transactions, if you found a new Bank account make a record to other table from where you can verify
Dec 14 '11 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Mori | last post by:
I have a datagrid with 3 bound columns, two of them editable. The problem is when in edit mode, I just can't access the values I typed into the 'new' text boxes. Whatever I type in is not...
3
by: awebguynow | last post by:
in other words, Can I make client side mod's before I submit a form and Post ? I guess its just a matter of cycling through the form elements and setting value to null (or empty string) for...
1
by: planetthoughtful | last post by:
Hi All, I have a mainform with a subform in which I show some task summary data. On the mainform I have a number of unbound controls that reflect values relevant to each task in the subform....
2
by: sobmir | last post by:
A I'm new to c# and I came from c++ also. I want to create dynamicaly winform to get some data. I create a array of object as a description of variable which I want to get. I pass this array to a...
0
by: Tom | last post by:
I have a datagrid that can be updated. I only want to right the values of the updated rows. Is there a way to check which row has been updated and only save that row, or should this be done in the...
1
by: Dan Sikorsky | last post by:
How can you tell which FormView controls have different values from their initial values when the page was loaded? If the user clicked the submit button on the EditItemTemplate and no controls...
0
by: gus | last post by:
Hi folks, I have a asp.net page with html controls (span and anchors) whose innerhtml and display properties are changed on the client with javascript. I also have buttons that postback to the...
1
by: sathyan8294 | last post by:
what is vb.net code for changing the values in datagrid and save the changed values using vb.net windows application
0
by: akaley | last post by:
Hi Every one, i have a small requiremnet.. My requirement is..As part of my application Excel Download functionality is there. At present the user down load the valuesi nto Excel file. But now...
1
by: RP | last post by:
In my Form, I have 20 or 30 Text Boxes and Combo Boxes. I am using a tabbed interface. When the Form's Close button is clicked, I want to check whether user attempted an entry in any of the Text...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.