Skip to content

Doubt in saving Records in database

leathu raj

Asked May 8, 2014, 12:22 AM EDT1 answer
Share
LinkedInX
Hi,
   I have one doubt.... in my project i want to create ledger for each day. I want to save it automatically based on today date in access database. Like as a primary key.... If it is possible or not... and help me how to i solve this...
for example
 In my database table fields are like
date,income,outgoing,balance  
From this the income want to save automatically based on today date from form and same for outgoing. please help me....
 Thanks in advance..... 

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    the question is kind of confusing but here it goes insert tablename(datecolumn,income,outgoing,balance) values(datetime.now.ToString(),10000,?????,?????) where Question Marks means the datatype value of the columns Hope that helps
    0