NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: ccordes on September 02, 2010, 07:54:50 AM

Title: Get -v- p_web.get -v- Access:file.fetch
Post by: ccordes on September 02, 2010, 07:54:50 AM
I see records being accessed in a number of ways throughout the source code in the templates and in examples. What are the rules for using these?
I have used access:... everywhere and begin to question it when I see special p_web methods.
Thanx
chris
Title: Re: Get -v- p_web.get -v- Access:file.fetch
Post by: Bruce on September 03, 2010, 04:05:28 AM
Hi Chris,

If your app is ABC then by all means use the ABC methods.
The built-in methods are there so the templates generate the same code for Legacy and ABC, but in ABC apps it translates to the Access call anyway.

Just be aware in some places in the form, the files are not automatically opened, so you're best off opening them if you want to use them.

cheers
Bruce