NetTalk Central

Author Topic: Get -v- p_web.get -v- Access:file.fetch  (Read 2886 times)

ccordes

  • Sr. Member
  • ****
  • Posts: 384
    • View Profile
    • Email
Get -v- p_web.get -v- Access:file.fetch
« 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
Real programmers use copy con newapp.exe

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Get -v- p_web.get -v- Access:file.fetch
« Reply #1 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