NetTalk Central

Author Topic: Adding records to to a different file after insert  (Read 2499 times)

Rene Simons

  • Hero Member
  • *****
  • Posts: 649
    • View Profile
Adding records to to a different file after insert
« on: October 07, 2008, 01:25:31 AM »
Hi,

After I do an insert to a file, I need to write an extra set of records to a different file.
Where is the best spot to put the code?

and ...

Is it right that I cannot use the access:<file>.<method> way of accessing database records when I write code?

Thanks,
Rene
Rene Simons
NT14.14

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: Adding records to to a different file after insert
« Reply #1 on: October 07, 2008, 02:04:47 AM »
I put them in the ValidateRecord embed.

You can use access:file.method. Just use a Access:File.Usefile() before using your file access code.

Kevin

Rene Simons

  • Hero Member
  • *****
  • Posts: 649
    • View Profile
Re: Adding records to to a different file after insert
« Reply #2 on: October 07, 2008, 03:23:14 AM »
Thanks Kevin
Rene Simons
NT14.14