+ Reply to Thread
Results 1 to 4 of 4

Thread: Appending records from AS/400 to MS Access database

  1. #1

    Default Appending records from AS/400 to MS Access database

    This can get convoluted, but you can establish a trigger program, that uses RUNRMTCMD, or STRPCCMD to activate an ACCESS macro that obtain the data. Dave

  2. #2
    Guest.Visitor Guest

    Default Appending records from AS/400 to MS Access database

    One way you could do it, if you have a timestamp field in the source file, is create an Access macro that copies all new records since the last copy. It can figure out which are new if the timestamp is updated whenever the record is. (If your tables don't have timestamps, you could create a trigger to store them and a link to the record in a separate file). Each time you did the "replication", you would retain the timestamp value so you could subsequently grab all records greater than the timestamp. If you have the DASD space, you may also want to look into journals. HTH, Brian Singleton www.bsing.com P.S. I'll flesh out the above example in an upcoming article in MCMagOnline.

  3. #3
    Guest.Visitor Guest

    Default Appending records from AS/400 to MS Access database

    Hi all, I have a table set up in MS Access by Importing file from AS/400 using ODBC. Now I need to append to the table with new records everytime records are added to the AS/400 file. I know I can 'Link' Access and AS/400 in ODBC but I am looking for alternatives. Does anyone have any ideas? Thanks in advance. Don

  4. #4
    Guest.Visitor Guest

    Default Appending records from AS/400 to MS Access database

    Thanks for your reply. I think about the trigger and RUNRMTCMD but: 1. what do I put in the CMD prompt? I don't know Access, and it's not like I can put CALL PGMA as in AS/400. 2. I need some logic in place so that I won't receive the old records into ACCESS. Perhaps I can make use of the timestamp suggested by Brian? Do you have any examples? Thanks for your help.

+ Reply to Thread

Similar Threads

  1. Append records in 400 table from Access via ODBC
    By trevor.lazarus@ssa.gov in forum General
    Replies: 2
    Last Post: 09-20-2002, 12:30 AM
  2. Records locks using VB and ADO to access AS/400 data
    By Guest.Visitor in forum Visual Basic
    Replies: 1
    Last Post: 05-30-2002, 01:06 PM
  3. Appending non-contiguous fields
    By Guest.Visitor in forum Programming
    Replies: 5
    Last Post: 05-17-2000, 07:07 AM
  4. Appending some CL commands in a CL program.
    By Guest.Visitor in forum Application Software
    Replies: 2
    Last Post: 10-14-1999, 07:43 AM
  5. Records not avaible for access
    By wjminc in forum Programming
    Replies: 10
    Last Post: 10-22-1997, 12:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts