Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Importing / Linking / August 2004

Tip: Looking for answers? Try searching our database.

Counter

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Hasan - 02 Aug 2004 07:34 GMT
Hi,
i am importing data from an old database to a new 1. in
the new database i need an auto number that numbers the
products for a customer but on the change of the customer
i want the counter to reset to 0 and start counting
again. in other words to add 1 to the previous number.
in Access  using append query how can i set this fields
so each time the customer will change during the import
teh counter will reset.
Thanks
Douglas J. Steele - 02 Aug 2004 10:49 GMT
There's no way to automate such behaviour in Access. You'll need to use VBA
code to read your incoming data row by row, and handle the processing
yourself.

Signature

Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)

> Hi,
> i am importing data from an old database to a new 1. in
[quoted text clipped - 6 lines]
> teh counter will reset.
> Thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.