Jump to content

Olli73

Members
  • Content Count

    60
  • Joined

  • Last visited

Community Reputation

6 Neutral

Recent Profile Visitors

2035 profile views
  1. Olli73

    FireDAC connection lost on setting TFDQuery's SQL.Text

    You could also try to create a select query and assign it to conection first and let it open until everything was done. This could avoid to the connection to the pool and unassign it.
  2. Olli73

    FireDAC connection lost on setting TFDQuery's SQL.Text

    How looks the code for the creation of the query?
  3. Olli73

    FireDAC connection lost on setting TFDQuery's SQL.Text

    What is the setting for Connection.ResourceOptions.KeepConnection ?
  4. Olli73

    Custom Time format in TDBGrid

    You could also try to enable ExtendedMetaData for connection.
  5. Olli73

    Custom Time format in TDBGrid

    What are your connection settings?
  6. Olli73

    Cannot get email with image inline

    Do you have in your HTML part something like <img src="cid:FileName"> ?
  7. You are using a Generator and a trigger? I thought you were using "generated by default as identity" for field in create table.
  8. In Firebird 4 something like this could work: UPDATE OR INSERT INTO ESTDTL (EST_ID, ESTDTL_ID, CSC_ID, ESTDTLDSC, CSTPLS, GSTINC, GSTPCT, QTYCLC, QTY, CST, GST, SLE, VAL) OVERRIDING USER VALUE VALUES (:NEW_EST_ID, coalesce(:NEW_ESTDTL_ID, -1), :NEW_CSC_ID, :NEW_ESTDTLDSC, :NEW_CSTPLS, :NEW_GSTINC, :NEW_GSTPCT, :NEW_QTYCLC, :NEW_QTY, :NEW_CST, :NEW_GST, :NEW_SLE, :NEW_VAL) MATCHING (EST_ID, ESTDTL_ID) RETURNING EST_ID, ESTDTL_ID
  9. The images are not visible to me. And what was the solution for your initial issue?
  10. Therefore I have used MATCHING (EST_ID, ESTDTLDSC) (And maybe additional fields), because ID is created by DB after post. But maybe there is another solution using the id field...
  11. Have you also provided values for "providerType", "isFolder", ...? See my JSON above.
  12. I have no experience with Microsoft API, but that looks to me that you do not need to create a sharelink first, instead you can directly enter the file or folder as sourceUrl: { "post": { "body": { "contentType": "text", "content": "I attached a reference to a file on OneDrive." }, "attachments": [{ "@odata.type": "#microsoft.graph.referenceAttachment", "name": "Personal pictures", "sourceUrl": "https://contoso.com/personal/mario_contoso_net/Documents/Pics", "providerType": "oneDriveConsumer", "permission": "Edit", "isFolder": "True" } ] } }
  13. And this was my fault: You had a "b.*", not an "a.*".
  14. The modify SQL should look something like this: UPDATE OR INSERT INTO ESTDTL (EST_ID, CSC_ID, ESTDTLDSC, CSTPLS, GSTINC, GSTPCT, QTYCLC, QTY, CST, GST, SLE, VAL) VALUES (:NEW_EST_ID, :NEW_CSC_ID, :NEW_ESTDTLDSC, :NEW_CSTPLS, :NEW_GSTINC, :NEW_GSTPCT, :NEW_QTYCLC, :NEW_QTY, :NEW_CST, :NEW_GST, :NEW_SLE, :NEW_VAL) MATCHING (EST_ID, ESTDTLDSC) RETURNING ESTDTL_ID, ESTDTLMNTDTE
  15. The database file is missing...
×