Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
|
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 January 30th, 2007, 04:12 PM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

I am not sure what the issue is now.

mmcdonal
 
Old January 31st, 2007, 12:35 PM
Friend of Wrox
 
Join Date: Apr 2006
Posts: 159
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I added the iStart and iEnd and removed the on current event, but the result is still the same. When I choose a value in either one of the combo boxes, the other one updates itself to the same value...

 
Old January 31st, 2007, 01:29 PM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

Can you email me the database as a zip file, if there is not any private data in it?

mmcdonal
 
Old February 1st, 2007, 01:16 AM
Friend of Wrox
 
Join Date: Apr 2006
Posts: 159
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I can send it to you if you want... I think I still have your email from a previous time you helped me. I'll send it to you later today and explain everything in detail to you again...

 
Old February 1st, 2007, 10:28 AM
Friend of Wrox
 
Join Date: Apr 2006
Posts: 159
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Seems like I'm not going to send you the file, because it is possible that the person I'm making this for wants to change something. Not working with weeks anymore, but with dates... So I prefer to wait instead of giving you some work that may be done for nothing... They have seen what has been done so far and will give me a final answer on monday or wednesday of next week...

What I just like to know is:
If they change this and work with dates instead of weeks, is it possible to change the startweek and endweek into startdate and enddate and then make a code that does the following:
take the startdate and the artikelnumber to create a first record, then take the stardate +7 days with the artikelnumber to create the next one and then always add 7 days until it matches the end date?

So if I take 02/05/2007 as the startdate and 02/26/2007 as the enddate with artikelnumber 25 it would create this in the table:

   Date Artikelnumber
02/05/2007 25
02/12/2007 25
02/19/2007 25
02/26/2007 25

The primary key will be the combination of both date and artikelnumber.

I don't know if this would change much to the code you gave me...






Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding Records with VBA rohit_ghosh Access VBA 7 June 22nd, 2007 05:05 AM
adding multiple records Vince_421 VB Databases Basics 4 February 28th, 2007 07:22 AM
Adding records to Tables lgpatterson Access VBA 6 March 20th, 2005 07:23 AM
Ouch: 80004005 (adding multiple records) PeterVR Classic ASP Databases 7 September 14th, 2004 06:36 AM
adding records sinner Classic ASP Databases 5 February 25th, 2004 06:12 PM





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