0

How to write the latitude and longitude information from a map click into a text field in Ninox

Hi friends,

I need to write the latitude and longitude information displayed when clicking on the map into a text field (in the sample database Test2.ninox). Previously, I was able to do this using the database.update command, but it no longer works.

Does anyone have a solution to this issue or an alternative approach?

Thanks for your help!

2 replies

null
    • Ninox partner
    • RoSoft_Steven.1
    • 2 days ago
    • Reported - view

    seems like the fieldId() function has become a bit stricter:

    change your code to:(with double quotes)

    fieldId(this,"X")

    and

    fieldId(this,"Y")

    ---- or simply:

    fieldId(X)

    and

    fieldId(Y)

      • gold_cat
      • yesterday
      • Reported - view

       Thank you, my friend. This is very helpful!

Content aside

  • Status Answered
  • yesterdayLast active
  • 2Replies
  • 25Views
  • 2 Following