NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Rene Simons on October 07, 2008, 01:25:31 AM

Title: Adding records to to a different file after insert
Post by: Rene Simons 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
Title: Re: Adding records to to a different file after insert
Post by: kevin plummer 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
Title: Re: Adding records to to a different file after insert
Post by: Rene Simons on October 07, 2008, 03:23:14 AM
Thanks Kevin