Solved

add user selected date to imported records

Posted on 2010-11-16
4
59 Views
Last Modified: 2016-04-11
I have a daily file i import after running a saved macro on an automated report from our IT department. The macro puts the file into a format that is usefull for importing and would like the user to select the date for the records being imported so i can use the data to report on later down the road.

i hope this makes sense to someone. I am not good with writing programmimg language but can interpret and follow it for the most part so be patient as i go through this task with you.
0
Comment
Question by:TCR
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 84

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 500 total points
ID: 34145341
How are the records being imported? Are you using the builtin menu options, or are you using code?

Do they get imported to an EXISTING table, or to a NEW table.

If a NEW table, you can just run this after the import:

Currentdb.Execute "UPDATE YourNewTable SET YourDateField=#" & Now & "#"

If an Existing table, then assuming that all other records already have a value in the YourDateField, you could do this:

Currentdb.Execute "UPDATE YourNewTable SET YourDateField=#" & Now & "# WHERE YourDateField IS NULL"

You'd have to do this in VBA, of course. If you'll give us some more information regarding how you're doing this, we can probably assist further.
0
 

Author Comment

by:TCR
ID: 34145662
Currently i have a macro set to auto import the file to an exsisting table with a saved import. The code for exsisting tables would not work if a day was missed(weekends) i would need to have the user go back and import that date.
0
 
LVL 24

Expert Comment

by:broomee9
ID: 41544408
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question