PC Review


Reply
Thread Tools Rate Thread

adding "one" to a text field (number)

 
 
=?Utf-8?B?U2N1ZGE=?=
Guest
Posts: n/a
 
      27th Dec 2006
Hi all,

I am creating a work schedule in access and after looking at some of the
other great examples I figured I would mess around with making my own.

it is going to be a monthly work schedule for 4 different groups of people,
2 people per day (12 hour shifts).

So, in my table I made Day1, and what I would like is to have Day2, Day3,
etc. Automatically be populated with the next number. ie: Day 2 be plus 2,
Day 3 be plus 3, etc. So when I first go to the form, I pick the date on say
a Wed (first day of that month) and have the remaining days filled in.

Can I do that?

Thanks!
Steph
Thanks!
 
Reply With Quote
 
 
 
 
Jeff Boyce
Guest
Posts: n/a
 
      28th Dec 2006
Are you saying you are trying to name fields "Day1", "Day2", "Day3", ...
"Day-n"?

If so, this is a very spreadsheetly way of handling this ... and will cause
you and Access no end of headaches down the road.

Or have I mis-read between the lines?

Regards

Jeff Boyce
Microsoft Office/Access MVP

"Scuda" <(E-Mail Removed)> wrote in message
news:47BCC8A3-4E01-41D8-8628-(E-Mail Removed)...
> Hi all,
>
> I am creating a work schedule in access and after looking at some of the
> other great examples I figured I would mess around with making my own.
>
> it is going to be a monthly work schedule for 4 different groups of
> people,
> 2 people per day (12 hour shifts).
>
> So, in my table I made Day1, and what I would like is to have Day2, Day3,
> etc. Automatically be populated with the next number. ie: Day 2 be plus
> 2,
> Day 3 be plus 3, etc. So when I first go to the form, I pick the date on
> say
> a Wed (first day of that month) and have the remaining days filled in.
>
> Can I do that?
>
> Thanks!
> Steph
> Thanks!



 
Reply With Quote
 
=?Utf-8?B?U2N1ZGE=?=
Guest
Posts: n/a
 
      28th Dec 2006
No, you are right lol - and I know it is a spreadsheat-ian way of doing it!

So what is the BEST way to do it and I will approach it from that angle.

Thanks!



"Jeff Boyce" wrote:

> Are you saying you are trying to name fields "Day1", "Day2", "Day3", ...
> "Day-n"?
>
> If so, this is a very spreadsheetly way of handling this ... and will cause
> you and Access no end of headaches down the road.
>
> Or have I mis-read between the lines?
>
> Regards
>
> Jeff Boyce
> Microsoft Office/Access MVP
>
> "Scuda" <(E-Mail Removed)> wrote in message
> news:47BCC8A3-4E01-41D8-8628-(E-Mail Removed)...
> > Hi all,
> >
> > I am creating a work schedule in access and after looking at some of the
> > other great examples I figured I would mess around with making my own.
> >
> > it is going to be a monthly work schedule for 4 different groups of
> > people,
> > 2 people per day (12 hour shifts).
> >
> > So, in my table I made Day1, and what I would like is to have Day2, Day3,
> > etc. Automatically be populated with the next number. ie: Day 2 be plus
> > 2,
> > Day 3 be plus 3, etc. So when I first go to the form, I pick the date on
> > say
> > a Wed (first day of that month) and have the remaining days filled in.
> >
> > Can I do that?
> >
> > Thanks!
> > Steph
> > Thanks!

>
>
>

 
Reply With Quote
 
Jeff Boyce
Guest
Posts: n/a
 
      28th Dec 2006
"Best" is such a subjective term...<g>

When I approach a new database, I first shut off the computer and pick up
pencil and paper. To get the best out of Access, it's worth the time it
takes to normalize the data. Check at Jeff C's site for extensive
references:
http://home.bendbroadband.com/conrad...abaseDesign101

Pencil and paper, because drawing out the "entities" and "relationships" is
a good starting point for the tables (and relationships).

For example, if you have multiple "days" you want to track, consider
including a field in a table that holds "YourTrackingDate". You can always
calculate what the date would be 23 days after "YourTrackingDate" by using a
query and, say, the DateAdd() function.

If you provide a bit more information about the domain (what subject area
are we working in?), the newsgroup readers will probably be able to offer
more specific suggestions for data structure...

Regards

Jeff Boyce
Microsoft Office/Access MVP

"Scuda" <(E-Mail Removed)> wrote in message
news:98088A40-31E1-4F3C-B46A-(E-Mail Removed)...
> No, you are right lol - and I know it is a spreadsheat-ian way of doing
> it!
>
> So what is the BEST way to do it and I will approach it from that angle.
>
> Thanks!
>
>
>
> "Jeff Boyce" wrote:
>
>> Are you saying you are trying to name fields "Day1", "Day2", "Day3", ...
>> "Day-n"?
>>
>> If so, this is a very spreadsheetly way of handling this ... and will
>> cause
>> you and Access no end of headaches down the road.
>>
>> Or have I mis-read between the lines?
>>
>> Regards
>>
>> Jeff Boyce
>> Microsoft Office/Access MVP
>>
>> "Scuda" <(E-Mail Removed)> wrote in message
>> news:47BCC8A3-4E01-41D8-8628-(E-Mail Removed)...
>> > Hi all,
>> >
>> > I am creating a work schedule in access and after looking at some of
>> > the
>> > other great examples I figured I would mess around with making my own.
>> >
>> > it is going to be a monthly work schedule for 4 different groups of
>> > people,
>> > 2 people per day (12 hour shifts).
>> >
>> > So, in my table I made Day1, and what I would like is to have Day2,
>> > Day3,
>> > etc. Automatically be populated with the next number. ie: Day 2 be
>> > plus
>> > 2,
>> > Day 3 be plus 3, etc. So when I first go to the form, I pick the date
>> > on
>> > say
>> > a Wed (first day of that month) and have the remaining days filled in.
>> >
>> > Can I do that?
>> >
>> > Thanks!
>> > Steph
>> > Thanks!

>>
>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding "text form field" also UNWANTINGLY makes it a bookmark. =?Utf-8?B?Z1JFZw==?= Microsoft Word Document Management 1 8th Jan 2007 01:22 AM
Adding "text form field" also UNWANTINGLY makes it a bookmark. =?Utf-8?B?Z1JFZw==?= Microsoft Word Document Management 0 8th Jan 2007 12:13 AM
Outlook adding " (E-mail)" to EmailDisplayName field in "To:" and "CC:" boxes StepHenHairNet Microsoft Outlook Contacts 6 16th Jun 2005 03:46 PM
create hyperlink: "predefined text string+number field from the table" Uriel TK Microsoft Access 1 5th Sep 2004 10:01 PM
Adding a "1" to Phone Number field Mark Microsoft Excel Misc 6 1st Apr 2004 10:19 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:09 AM.