Directlinq
Registered User.
- Local time
- Today, 02:48
- Joined
- Sep 13, 2009
- Messages
- 67
Hi could someone please help me?
I have a table With 4 fields
Id,Month,Year,Total
1,jan,2009,51
2,feb,2009,44
3,mar,2010,77
On my form i have 3 fields
Month,Year,Total
Is it possible when i press a button on my form it will search the table for the same combination of Month & Year.
E.g on my table i have jan 2009 88, It will then search the table for a january with the date 2009 if found overwrite the new total if not found add all 3 fields to the table.
So there will only ever be 1 of jan,2009 or feb,2009 or feb,2010 etc.
Hope you can help
Many Thanks
I have a table With 4 fields
Id,Month,Year,Total
1,jan,2009,51
2,feb,2009,44
3,mar,2010,77
On my form i have 3 fields
Month,Year,Total
Is it possible when i press a button on my form it will search the table for the same combination of Month & Year.
E.g on my table i have jan 2009 88, It will then search the table for a january with the date 2009 if found overwrite the new total if not found add all 3 fields to the table.
So there will only ever be 1 of jan,2009 or feb,2009 or feb,2010 etc.
Hope you can help
Many Thanks