Just an observation, not something I am looking to solve because it’s not that important.
When I copy text from a text field from a Filemaker project into a textfield in Xojo and hit the Update to db button, Xojo crashes. I tried this with other apps on my Mac and with the web browser and none of them gives a problem, only when pasting text that came from Filemaker text fields. Is fm maybe adding extra code or something that Xojo cannot digest?
I have to admit that I don’t, I am reading up on this since some days because it is advised a lot lately to use it. I however did a lot of copy paste before when I started building the Xojo app and never had crashes.
Yes. You can either say ? or ?1, ?2, etc. Without the numeral after the ?, the parameters in the ExecuteSQL have to be in the same order as the ? in the sql. With the numeral, ?x refers to the x’th parameter in the list of parameters.
When you say Xojo crashes, you probably mean your app crashes.
Do you get an Unhandled Exception message ? If so, add some code to Unhandled Exceptions to grab information about the exception and also check the stack trace to get hints at was is wrong. This is great tool for a detective !
One more questions about copying and pasting text into a text field from another source. I have the font properties for text fields set to system with size 0. How can I apply this to pasted text immediately? I noticed that when restarting the app, the pasted text does have the correct system font and 0 size, but it would be nice to see that immediately after pasting it in to the text field.