Forum Discussion

MattMatt's avatar
MattMatt
Qrew Trainee
8 years ago

Add new record in different application

Hi all, 

This has to be answered somewhere but I can't find it. Can someone advise on the URL code for adding a new record in a different application? I'm familliar with doing it within an application but can't get this to work. 

Thanks in advance.
Matt

4 Replies

  • Well, the format is identical but you cannot refer to the table name in [square brackets].  You just need to type the actual table name like

    urlroot() & "db/" & "xxxxxxx" & "?act=API_ AddRecord ......
  • Hi Matt,

    We do have an online help resource on API calls like Add Record that can be found here

    The API guide shows how those calls can be built and then you can put them into a formula like the one Mark posted. 
  • Thanks very much guys, I got it with Mark's formula. Mark - not the first time you've helped me out, really appreciate it.
    • QuickBaseCoachD's avatar
      QuickBaseCoachD
      Qrew Captain
      np,
      just by the way, the reason that you can't use the is that there would be many Apps all with the same table names, like [_DBID_CUSTOMERS].

      _But the important reason to always use table names whenever you can (within an app) is that so when you copy an app, the buttons will be still referring to the correct app and not hard coded to your old app.