Wrox Programmer Forums
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 22nd, 2007, 03:54 AM
Authorized User
 
Join Date: May 2007
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Default Add records with VBA

Hi,

Is it possible to add repetitive records with VBA.

I have a table tblTasks. The fields are Name, Age, Task, Date.

I need to code that enters the following information daily without manualy typing a new record.

Name = John.K
Age =35

Task =Create Reports

Current Date = Should get registered automatically.

The user should not update the above given fields manually. The code should be able to add new records by running a VBA code.The Current Date column should not be manually updated it should take todays date from the code.

Also there should be a date range option in the code where the user provides a date range for example 25-06-2007 to 29-06-2007. All the five records with approriate dates should get automatically populated in the table tblTasks.Help will be highly appreciated.

 
Old June 22nd, 2007, 04:11 AM
Friend of Wrox
 
Join Date: Mar 2007
Posts: 432
Thanks: 0
Thanked 1 Time in 1 Post
Default

rhohit_gosh,

why you have double-posted this within the same forum?! I answered your question in the previous post.

Regards,
Rob

 
Old June 22nd, 2007, 04:13 AM
Authorized User
 
Join Date: May 2007
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Rob,

Sorry my bad I did it by mistake...apologies for the inconvenience...






Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with a query to add records chacquard Access VBA 1 February 28th, 2005 04:23 PM
how to know who edit or add records? drachx General .NET 1 October 13th, 2004 05:36 AM
how to know who edit add records? drachx SQL Server 2000 9 October 13th, 2004 04:28 AM
Add records from a Datagrid dkomo VB.NET 0 May 6th, 2004 01:08 PM
How to add records hdvan SQL Server ASP 2 September 24th, 2003 12:43 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.