Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Datagrid updating columns

Status
Not open for further replies.

baddos

MIS
Dec 3, 2002
2,360
US
I am currently writing a small application that takes in sales numbers from our POS system and will eventually write a CSV file for our finance GL software. It will need to include the variances between the reported media (cash, credit, etc) vs deposit information. I have attempted to do this via a datagrid, but I'm not sure it will do what I want.

Basically I constructed a SQL query that grabs these fields:

storeid, media, amount, 0 As Deposit, 0 As Variance

I've want to make the Variance field readonly and have it dynamically updated when someone enters a number into the deposit field. So amount - depoist = variance. I cannont find a good event to do this in.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top