creating autofill fields

So I need to create an automatically generated record in a table when the 
previous fields time goes into the next day.  For example.  If a employee 
input his time as 9Pm-2am on 1/1/08,  I need to automatically generate a 
record that has the time from 00-2am with the next days date:1/2/08  I also 
have to cap each days time at 12 midnight.  I am not sure where to start with 
this entire sequence,  can someone give me some guidance?  Thanks.  Christie
0
Utf
3/17/2008 7:16:01 PM
access 16762 articles. 3 followers. Follow

3 Replies
824 Views

Similar Articles

[PageSpeed] 52

You've described "what", but not "why".

You've described "how", but not explained what having this kind of data will 
allow you to do.

It all starts with the data ... so if you'll describe a bit more 
specifically what your data structure is, the folks who frequent this 
newsgroup may be able to offer more specific suggestions.

Regards

Jeff Boyce
Microsoft Office/Access MVP

"ChristieB" <ChristieB@discussions.microsoft.com> wrote in message 
news:A227A344-3935-4F89-B274-D4048EEA1198@microsoft.com...
> So I need to create an automatically generated record in a table when the
> previous fields time goes into the next day.  For example.  If a employee
> input his time as 9Pm-2am on 1/1/08,  I need to automatically generate a
> record that has the time from 00-2am with the next days date:1/2/08  I 
> also
> have to cap each days time at 12 midnight.  I am not sure where to start 
> with
> this entire sequence,  can someone give me some guidance?  Thanks. 
> Christie 


0
Jeff
3/17/2008 7:21:19 PM
We need an autogenerated record so that we don't have to go into the tables 
and generate it when a person works beyond midnight, them entering their 
time, it will update automatically.  Having this data will help us keep 
seperate each days time records.  It will help when generating payrolls and 
calculating hours worked.  Thanks for your help.

"Jeff Boyce" wrote:

> You've described "what", but not "why".
> 
> You've described "how", but not explained what having this kind of data will 
> allow you to do.
> 
> It all starts with the data ... so if you'll describe a bit more 
> specifically what your data structure is, the folks who frequent this 
> newsgroup may be able to offer more specific suggestions.
> 
> Regards
> 
> Jeff Boyce
> Microsoft Office/Access MVP
> 
> "ChristieB" <ChristieB@discussions.microsoft.com> wrote in message 
> news:A227A344-3935-4F89-B274-D4048EEA1198@microsoft.com...
> > So I need to create an automatically generated record in a table when the
> > previous fields time goes into the next day.  For example.  If a employee
> > input his time as 9Pm-2am on 1/1/08,  I need to automatically generate a
> > record that has the time from 00-2am with the next days date:1/2/08  I 
> > also
> > have to cap each days time at 12 midnight.  I am not sure where to start 
> > with
> > this entire sequence,  can someone give me some guidance?  Thanks. 
> > Christie 
> 
> 
> 
0
Utf
3/18/2008 4:25:03 PM
Christie

If I have a table that stores StartDateTime and EndDateTime information, I 
can use queries and reports to derive "per day" totals.  It may be that 
you'd need to generate separate records for each day if you were using some 
tool other than a relational database like Access, but it isn't necessary 
(and it IS undesireable) to treat Access like a spreadsheet...

Good luck!

Regards

Jeff Boyce
Microsoft Office/Access MVP


"ChristieB" <ChristieB@discussions.microsoft.com> wrote in message 
news:FD328B10-3175-411E-9814-0E111B30DCD8@microsoft.com...
> We need an autogenerated record so that we don't have to go into the 
> tables
> and generate it when a person works beyond midnight, them entering their
> time, it will update automatically.  Having this data will help us keep
> seperate each days time records.  It will help when generating payrolls 
> and
> calculating hours worked.  Thanks for your help.
>
> "Jeff Boyce" wrote:
>
>> You've described "what", but not "why".
>>
>> You've described "how", but not explained what having this kind of data 
>> will
>> allow you to do.
>>
>> It all starts with the data ... so if you'll describe a bit more
>> specifically what your data structure is, the folks who frequent this
>> newsgroup may be able to offer more specific suggestions.
>>
>> Regards
>>
>> Jeff Boyce
>> Microsoft Office/Access MVP
>>
>> "ChristieB" <ChristieB@discussions.microsoft.com> wrote in message
>> news:A227A344-3935-4F89-B274-D4048EEA1198@microsoft.com...
>> > So I need to create an automatically generated record in a table when 
>> > the
>> > previous fields time goes into the next day.  For example.  If a 
>> > employee
>> > input his time as 9Pm-2am on 1/1/08,  I need to automatically generate 
>> > a
>> > record that has the time from 00-2am with the next days date:1/2/08  I
>> > also
>> > have to cap each days time at 12 midnight.  I am not sure where to 
>> > start
>> > with
>> > this entire sequence,  can someone give me some guidance?  Thanks.
>> > Christie
>>
>>
>> 


0
Jeff
3/19/2008 5:13:55 PM
Reply:

Similar Artilces:

cannot create profiles in win 7 mail 32 bit
I upgraded to WIndows 7 professional 64 bit and still cannot get my MS Office 2003 to work properly. All the programs except Outlook seems to work fine. I am totally unable to open outlook without mail profiles. I click on mail in control panel and I get low memoery or resources too low. That's impossible. I have 4GB RAM and 1GB VRAM. In addition, I noticed to night that while I created a profile for myself as Admin, I do ot have admin permissions EVEN IF I say 'run as admin" If I open my profile, it syas Admin under my name yet shows up as standard user. I...

Creating a table
There's probably an easier way to do it but... I have a series of numbers in column A (150 in all) and a series of letters in column B (22 in all). In total there are 4800 rows. What I am trying to do is create a table with the number down the left hand side and the letters across the top. In each cell within the table I need to count how many times the combination of number/letter appears. Eg: A B C 201 0 2 2 202 3 0 1 203 3 6 4 I tried combining the number/letter into a single text field using the CONCATENATE function then filtering ...

Creating a letter from template
Is it possible in CRM? So far the only way i figured out to use templated is in an email and /KB-article. (And order offcourse) The thing i'm looking for is when selecting a contact, somehow i can make a letter activity and call a template that puts name & adress data etc. After that i should be able to print the letter, to put it in an enveloppe and send it someplace... So far it seems to me this cannot be done, but then again, i'm certainly not a CRM expert... Is it possible? If so, can anyone provide me the actions to be taken step by step ? thanks Kas "_Kas_&...

Simple Question-How to create more than one transaction on the Acc
If there is a question already posted let me know. The question is: I created a bank account information on the Account list icon and want to have more than (one)transactions listed and see each payee displayed separately on each page so i could have all the months posted with due dates and total listed. Thank you. In microsoft.public.money, a.j. wrote: >If there is a question already posted let me know. The question is: I created >a bank account information on the Account list icon and want to have more >than (one)transactions listed and see each payee displayed separately ...

How to create an "and" rule in Query Based Distribution Groups
Hi, With Exchange 2003 Query Based Distribution groups, is it possible to create an "and" rule? ie, all users who are based in "London" "and" have the first name "John"? Thanks, Curtis. -- Please reply to news group only. Thank you. Sure. (&(attribute1=blah)(attribute2=blah)) http://msdn.microsoft.com/library/en-us/adsi/adsi/search_filter_syntax.asp?frame=true -- Bharat Suneja MCSE, MCT www.zenprise.com blog: www.suneja.com/blog ----------------------------------- "Curtis Fray" <xxx@xxx.com> wrote in message news:OjVc...

Creating a print-macro that'll only print page 1?
Hi, I have a spreadsheet that contains multiple sheets. I want to add a button that runs a macro, which only prints page 1 on the first sheet (called Scorekort). The "Scorekort" sheet contains 13 pages in total, but I only want to print the first page. Any ideas for this macro? Anders hi, Sub Macro1() Sheets("Scorekort").PrintOut From:=1, To:=1, Copies:=1, Preview:=True, Collate:=True End Sub if you don't want a print preview, Preview:=False -- isabelle Le 2011-05-21 04:16, Anders M a �crit : > Hi, > > I have a spreadsheet that contains multiple ...

Email accounts are not created for new user
I had a severe system crash several days ago because of bad memory in my domain controller (Server 2003 R2)/Exchange server 2003 (small site - no extra systems). I had to reinstall Exchange 2003 and reload the exchange store from backup. For existing users everything works great. Everybody can send and receive email, the calender works correctly, etc. OWA works. However, when I create a new user account in Active Directory Computers and Users, the account is created and the new user can log onto a system. However, Outlook 2003 cannot be configured to use the exchange server. In t...

Somehow I created a Macro in a worksheet.
I created a macro in an Excel worksheet somehow. I didn't try to, it just happened. Now everytime I open that workbook, it asks me if I want to run the macro, disable it, etc. How the hell do I get rid of the macro? It doesn't show up under tools, macros. And it apparently doesn't do anything either because I can disable it and nothing different happens. Who invented this system anyway? Thanks, V When you record a macro, a module is created to store the macro code. There are instructions here for removing the module that is causing the prompt to appear: http://www.c...

Query fields
Is it possible to write a criteria where the value of an empty field is "0.00"? Background: I have three queries with different customer account groups. Not every salesperson has customer accounts in every accountgroup - so, he will not shown up in that query. But he has accounts included in another query. Now, I would like to get a sum of commission earned by each salesman calculated from all three queries together. Since the salesman has no record in one query the total sum of that specific salesman is not shown. Any idea how to solve that problem? Thanks Klaus On Wed, 29 A...

we do not create seperate http virtual server anymore?
Hi all, Just want to confirm that we do not need to create the seperate http virtual server for FE/BE (backend two node A/P Exchange 2003 cluster), right? I remember I need to create it in Exchange 2000 FE/BE clustering envir. Thanks in advance. On Wed, 2 Aug 2006 11:44:26 -0700, John <John@discussions.microsoft.com> wrote: >Hi all, > >Just want to confirm that we do not need to create the seperate http virtual >server for FE/BE (backend two node A/P Exchange 2003 cluster), right? I >remember I need to create it in Exchange 2000 FE/BE clustering envir. > >...

Error creating new task
Error .. "Could not complete operation. One or more parameter values are not vaild" ...

Change of field separator
When I open CSV files in Excel all data is put in one column. Can anyone tell me, where I change my set up, so I get another field separator? Please be specific, because my Excel is a Danish version, and sometimes I have a hard time following the English instructions. Thanks! Jane Hi you specify this in the Windows regional settings. Another idea: - rename your *.csv file to a *.txt file - now open it with excel. The Import wizard should appear and should allow you to specify a different delimiter "Janepige" wrote: > When I open CSV files in Excel all data is put in one co...

create main configuration file for solution.
Hello. How can I create main configuration file for my solution (Win-Form : VS 2008. VB.NET), like a general ini-file. Thanks :) "Mr. X." wrote: > Hello. > How can I create main configuration file for my solution (Win-Form : VS > 2008. VB.NET), like a general ini-file. > It's called an app.config. There is a name space you can use to mainulupate the app.config from a program. I see it on the project source directory (not for solution). I cannot see it on the release directory. Is there any convention to read / write from app.config...

Creating Contacts For Accounts Using...
Hopefully as Microsoft CRM matures, many small time saving features will be added. One that should be a priority is the ability to add a new contact for an existing account using the common account information, i.e. address, phone number, web address, etc. Retyping the same company address in each time is not very productive. Thank you, Ed Podowski ---------------- This post is a suggestion for Microsoft, and Microsoft responds to the suggestions with the most votes. To vote for this suggestion, click the "I Agree" button in the message pane. If you do not see the button, f...

WdfUsbTargetDeviceCreate creates NULL Control Pipe Handle
Hi, We have a usb composite device which has one mass storage interface and another as a network interface. We are developing a WDF driver (NDIS-USB) for the network interface. Immediately after WdfUsbTargetDeviceCreate if I break into the debugger and examine the newly created device, then I see that the Control Pipe Handle is NULL! Here is the actual output: -------- kd> !WDFUSBDEVICE 0x0000057f`fe5905f8 WDFUSBDEVICE 0000057ffe5905f8 ============================= Config descriptor fffffa80037216b0, device descriptor fffffa8001a6fb58 Control USBD_PIPE_HANDLE 000000000000...

Scroll horizontaly with mouse, create same system used to scroll .
Hi, I think it would be great if mouses adopted a second scroll button, for horizontal scrolling, just like the vertical one .... Indeed, when you work with wide Excel spreadsheets, you can easily scroll down but to scroll from left to right or vice-versa, you have to use the scroll bar or arrows and it's annoying... So, am I a millionnaire yet??? Hi Frederic, > I think it would be great if mouses adopted a second scroll button, for > horizontal scrolling, just like the vertical one .... Indeed, when you work > with wide Excel spreadsheets, you can easily scroll down b...

Create individual files from a row
I have an excel file with several thousand entries, which contain data in several columns. I would like to be able to create an individual xml or html file for each row, but with predifined formatting around so Mr A bloggs, A street, A town, AA1 1AA Could become Abloggs.html <head></head> <name>Mr A bloggs</name> <street>A street</street> Any other info here as well </html> etc. Is this possible and any suggestions how? thanks, Graham. -- GrahamN ------------------------------------------------------------------------ GrahamN's Profile: ...

Cannot create mailbox for new user accounts
I am running Exchange 2003 on Server 2003. I was able to move all existing mailboxes from my old Exchange 2000 server to my new 2003 server. Whenever I try to create a new user it creates the user normally and asks if I want to create a mailbox for the user. I check yes, and it says account created successfully. However, the mailbox never appears in Exchange, no email address is assigned to the new user, and I cannot send mail to the user account either. If I try to access any Exchange properties from ADUC it shows everyhting as if a mailbox exists, but there is no mailbox. I am ...

Annoying problem with lookup field
On a client, I have a MOSS 2007 portal with two lists which are not wroking as expected. One contains people and the other one contains a lookup field based on data from the first list. When someone which hasn't got administrative rights logs in and tries to see the properties of any element in the second list (on DispForm.aspx), they can't see the lookup field value, and if they try to edit the element, the dropdown control used to choose a person from the first list appears empty. Administrator don't have this problem. The users having the problem have collaboration rig...

Zero filling a number field
I have an auto number field that I want to zero fill to six digits but can't figure out how. Any ideas? You don''t say where you're trying to do this, but basically Format(YourAutoNumber, "000000") pdlginternet@aol.com wrote: >I have an auto number field that I want to zero fill to six digits but >can't figure out how. Any ideas? -- There's ALWAYS more than one way to skin a cat! Answers/posts based on Access 2000/2003 Message posted via AccessMonster.com http://www.accessmonster.com/Uwe/Forums.aspx/access-forms/200711/1 You can't do that wi...

Keeping a table in a form editable and checking that fields are filled in before allowing a save
Firstly apologies if this is the incorrect forum but I was looking for a general word forum and could not find one. Please point me to one if one exists. I am trying to create a form where I want to specify what items need to be filled in. (Review minutes from design reviews). I want to make certain fields mandatory like the date, attendees and check list used and want to block saving of the document with a warning until they are filled in. Is there a way of doing this? Also as a part of the review actions are filled in to a table. depending on how many actions there are the table...

How do I create custom postcards in Word 2007?
I want to create my own postcards using the right size and type of paper for mailing. This depends entirely on your printer. Can it handle the heavy weight of card used in postcards, and can it handle the unusual size of a postcard? On Apr 18, 2:54=A0pm, Create Custom Postcards <Create Custom Postca...@discussions.microsoft.com> wrote: > I want to create my own postcards using the right size and type of paper = for > mailing. Perhaps the easiest way to start is to get some Avery (or similar) postcard stock, which will have two postcards per sheet. Then find the a...

Publisher created webpage
I have created a web page in publisher, and am having a problem uploading it to a hosting site(angelfire). Any tips??? Thanks In the future utilize the webdesign forum at microsoft.public.publisher.webdesign You don't specify your version nor state what the problem is. I'd have to recommend you start by going over my tutorial at www.davidbartosik.com/ppt.htm on uploading to identify if you are following the correct procedures. If afterwards you are having a specific difficulty post as such in the web forum for follow-up. -- David Bartosik - MS MVP for Publisher help: www.davidbar...

Trying to Create a pop-up form
Due to size limitations on my main form, I am trying to create a form that, when I select a button, it pops up like a dialog box with the main form, Frm_Escheat, in the background I've created a qry which is the record source on my pop-up form. In the criteria of the query is: [Forms]![Frm_Escheat]![statecode] where [statecode] is the field from the Master Form. So, my "pop-up" form is activated when I select the button, but my problem is that it just goes to the pop-up form without the main form showing in the background. Thanks for your help. It would probably hel...

Create Excel macro for barcode output
I am looking for suggestions or samples of an Excel macro that will output barcodes that can be printed and then attached onto loan documents. Example: input loan # 555 and print off 20 barcoded labels - each label contains loan number + the document type. hi, you don't need a macro for that. we just got throught barcodeing our part numbers in the ware house and used excel and no macro. bar codes are just another font. excel uses 3 0f 9 barcode font. you can download others off the net. you can format a cell with this font and it will show as barcode on the sheet and numbers in th...