Access a recordset in another form / set reminder / format memo

Tap Forms – Organizer Database App for Mac, iPhone, and iPad Forums Script Talk Access a recordset in another form / set reminder / format memo

Viewing 2 reply threads
  • Author
    Posts
  • October 16, 2019 at 11:33 AM #37159

    Marcus
    Participant

    Hi Folks,
    after several days playing with scripts (I love it) I have 3 another questions:

    1. How to write in an existing recordset in another form ?

    Adding a recordset works:

    var doc=document.getFormNamed('Test2');
    var newRecord = doc.addNewRecord();

    I would like to modify an existing field in a known recordset (I have the ID of the recordset and the field).
    Additional: Would it be possible to search for a value and modify it in another form ?

    2. Is there a possibility to enable and customize a reminder in a date/time field ?

    3. is it possible to format text in a memo field (bold, font, size, color …) ?

    October 16, 2019 at 12:37 PM #37166

    Brendan
    Keymaster

    Hi Marcus,

    1. In the next update I’ve added a function to let you get the record based on a record ID.

    form.getRecordWithId(record_id);

    It will be available in the next update.

    2. There’s no function for letting you add reminders for a date/time field. That’s all done right now through code in the user interface.

    3. No, there’s no function for formatting text in Note fields from JavaScript.

    October 16, 2019 at 12:48 PM #37168

    Marcus
    Participant

    Thanks, Brendan.

Viewing 2 reply threads

You must be logged in to reply to this topic.