Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 39
  1. #16
    bigtman07 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2013
    Posts
    28

    If macro coding is the only way to do this then is there anything I can do to make this work??? Boss isn't thrilled that the input has to be manual. But if there isn't any other way then so be it. I may have to try and build a non web based one and do it that way. If anyone has any suggestions or would like to help me build a macro that will put the date and time in a text field I would greatly appreciate it.

  2. #17
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,954
    Maybe SetValue macro action is what you want. http://msdn.microsoft.com/en-us/libr...ffice.12).aspx
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #18
    bigtman07 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2013
    Posts
    28
    That might work if I had that option in my macro list.

  4. #19
    bigtman07 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2013
    Posts
    28
    I don't need any error checking or anything that fancy. I just need to put in the day and time automatically. So I need to find a place to put the Now() command and it will run. Sad thing is I can't find where to put it on this stupid web form to run.

  5. #20
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,954
    The option is kind of there. Have to reveal it. Click the Show All Actions on the macro Design tab. Why MS decided to separate some actions and force you to find them is anyone's guess.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  6. #21
    bigtman07 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2013
    Posts
    28
    Click image for larger version. 

Name:	Contacts_2013-10-08_13-33-44.jpg 
Views:	7 
Size:	38.7 KB 
ID:	14000
    Here is what I have. Not seeing SetValue in my macro list.

  7. #22
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,954
    Odd, it shows up for me. I created a checkbox on form, in Click event selected Embedded Macro, macro editor opens and the SetValue action does not show. I click Show All Actions, and then it shows. However, am using 2007 at the moment.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  8. #23
    bigtman07 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2013
    Posts
    28
    Lol well maybe that has been my problem all along. This access is messed up. You have it set as a web form?? Maybe that is the difference.

  9. #24
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,954
    Okay, so SetValue is not available for web forms http://office.microsoft.com/en-us/ac...010386888.aspx. Maybe solution is in the alternates listed in that link, possibly SetLocalVar or SetTempVar.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  10. #25
    bigtman07 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2013
    Posts
    28
    lol yeah tell me about it. When I started this whole thing I didn't realize a web DB was sooooo different. I had made some before and never had this much trouble. I do appreciate the help!!

  11. #26
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,954
    I edit my previous post while you were posting. More info.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  12. #27
    bigtman07 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2013
    Posts
    28
    lol ok thanks! I'll look into those options too!!

  13. #28
    bigtman07 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2013
    Posts
    28
    Well you are not going to believe this... But somehow I got the full list of commands to show in the macro list!!! No idea how I did it but I did. So now we are getting somewhere... I think

  14. #29
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,954
    That is with a web form or a normal form?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  15. #30
    bigtman07 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2013
    Posts
    28
    The Web form. I haven't made any changes to my current setup. I now have the RunCode Command. Within there I am able to put my now command and then call the command. Now I need to figure out how to insert the data from the now function into my CheckInTime field.

Page 2 of 3 FirstFirst 123 LastLast
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Checkbox
    By 1Christmas2 in forum Programming
    Replies: 6
    Last Post: 01-01-2013, 11:18 AM
  2. Checkbox
    By Mantaii in forum Forms
    Replies: 3
    Last Post: 01-13-2012, 07:17 AM
  3. Checkbox
    By huongdl1987 in forum Forms
    Replies: 1
    Last Post: 06-23-2011, 05:29 PM
  4. Checkbox help
    By NateHaze in forum Programming
    Replies: 3
    Last Post: 05-26-2011, 02:50 PM
  5. QBF - Checkbox
    By radink in forum Queries
    Replies: 17
    Last Post: 04-19-2011, 03:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums