Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Problem with fieldname characters

Featured Replies

Hi,

I'm having problem trying to get this query work.

Let ( [
  q = "SELECT i.c_nomComplet 
       FROM personnesiPad as i 
       LEFT OUTER JOIN personnesServer as s 
       ON i.uuid = s.uuid
       WHERE i.__modification_ts <> s.__modification_ts";
    
  r = ExecuteSQL (q; ";"; "¶")
];

 r
)

 

The problem seems to be my fieldnames in the WHERE clause. I've tried to quote them with the quote function, but I still have a validation error.

How do I managed to use fieldnames with special characters?

BTW, I'm trying to do a synchronisation file between an ipad and a server.

Thanks for helping!

Try

WHERE i.\"__modification_ts\" <> s.\"__modification_ts\"

  • Author

Thanks for the quick reply! It works!

You may want to encapsulate your field names and use field references instead so that your queries will remain intact if you ever change a TO name or a field name...

encapsulate your field names and use field references

Shouldn't we make that warning into a sticky?​

btw: cool pic, but the old one was more … geekish :D

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.