473,395 Members | 1,977 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

How to create a schedule from a form

1
I am trying to produce a scheduling form and having trouble figuring out how to approach it. Any advice would be great. Basically I created a form showing a list of tasks that need to be completed. In the header section I put a series of unbound text boxes 8-12 total showing the next 8-12 Friday weekending dates. In the detail section under the corresponding week ending the user would enter the hours budgeted for that week. An individual task may take multiple weeks.

I need to somehow store the weekending from the unbound header and the hours associated with the task.




Task Total Hours 10/17/08 10/24/08 10/31/08 11/7/08

Task 1 8 2 6
Task 2 20 5 5 5 5


Store in table somehow

Task Weekending hours
Task 1 10/17/08 2
Task 1 10/24/08 6
Task 2 10/17/08 5
Task 2 10/24/08 5
Task 2 10/31/08 5
Task 2 11/7/08 5
Oct 15 '08 #1
1 2156
Hi

It sounds like you could use a separate table to capture the data; which would have the taskID, the hours, and the w/ending date. I'd also have things like the updated date and userID. I think I'd capture this by having the user click a 'save' button on the record (presumably a continuous form?), and on the 'onclick' event for this, append the taskID, hours and wending to that table. I'd get the w/ending value by cross-referencing the input box to the relevant unbound w/ending box, i.e. something like

if not isnull(me.inputbox1) then
'append w/endingbox1.value, taskID,hours, user, Date() to my table (but coded appropriately)
end if

.... and so on for each input box.

and I'd force the user to save by using a msgbox when they try to leave the record without saving. you could of course have the append take place automatically through code as they leave the record but I'd not want them hopping in and out, creating multiple records for each week when they change their mind - so I'd also look at including edit and delete buttons/facilities, which would return the current record from this "tblHours".

Kevin
Nov 12 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: msnews.microsoft.com | last post by:
Hi, Can you schedule emails/events based on SQL data? Example: User sets an expiration date via web form to SQL DB. When this date arrives, send out an email to the user via web form. Any...
6
by: skgolden | last post by:
My husband and I own a small temporary labor company and deal with 4 major clients (A,B,C & D), each of which has about 2 dozen units in our tristate area that we deal with (ie, Company A, units...
5
by: DaveA | last post by:
I've got myself into a bind here. Any help would be a life saver. I created a form with 644 text boxes that serve as "days" for a schedule. Each text box has a code which is populated with an X or...
1
by: greg7224 | last post by:
I am currently working on a C# project that uses the Janus schedule controls, and am having trouble getting it to print correctly in Day view. The problem is that it will not print out the owners...
0
by: Jim Heavey | last post by:
I create a console application. This application creates a simple Excel File. I move this application to a server. I use the .Net Configuration utility and grant the application full access...
3
by: tstutting | last post by:
Hello, This is my first post and I'd really appreciate any help I can get. Sorry this is so long but it's complicated. I'm a USAF Officer and I'm attempting to make a shared MS Access DB that...
5
by: HoganGroup | last post by:
Hi Experts and Fellow Duffers: I am trying to create a query which will identify the most recent EndDate in tblSchedules associated with tblKids.KidID where a Null value (indicating a current...
19
by: viki1967 | last post by:
Hi there. Hi have this script: <script language="javascript" type="text/javascript"> <!-- var fieldNames = new Array("IRE", "ISI", "IMI", "REL", "REV", "MAN", "SOP", "GUF", "FOR",...
5
by: btraveler747 | last post by:
We have this database to track all our employees. I am trying to build a 14 day schedule to track all employees appointments leaves etc... I am sure this needs to be done in vba code but I am not...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.