Search Results for 'script'
-
Search Results
-
Topic: Documenter. script
I was trying CHATgpt to generate a script to list the properties of the forms im my database.
The form below is the output of CHATgpt.when I try rund the script the following error appears:
2/1/26, 11:47:40 AM / Property / listAllFormPropertaiesDB
listAllFormPropertaiesDB: TypeError: document.getForms is not a function. (In ‘document.getForms()’, ‘document.getForms’ is undefined),
line:(null)CHATgpt says this script should be a DATABASE script, not a FORM script, but I can find no way to create a Database script or to move tghis
script to become a Database Script. Is there such a way?function listAllFormPropertiesDB() {
var output = [];
var forms = document.getForms();for (var f of forms) {
output.push(“==================================================”);
output.push(“FORM NAME : ” + f.getName());
output.push(“FORM ID : ” + f.getID());
output.push(“RECORDS : ” + f.getRecords().length);
output.push(“FIELDS : ” + f.getFields().length);
output.push(“”);var fields = f.getFields();
for (var fld of fields) {
var line = [];
line.push(” Field Name : ” + fld.getName());
line.push(” Field ID : ” + fld.getID());
line.push(” Type : ” + fld.getType());if (fld.isCalculationField())
line.push(” Calc : YES”);if (fld.isScriptField())
line.push(” Script : YES”);if (fld.isTableField())
line.push(” Table : YES”);output.push(line.join(” | “));
}output.push(“”);
}return output.join(“\n”);
}listAllFormPropertiesDB();
Hello everyone,
I think I’ve found an error in the grouping function of the records.
When you open the “Zimmer” form in my database and set the value to 1 under form details at Other / Single-column list view fields, and then choose no restriction for the fields to be displayed, the list shows the field to be sorted as the main heading — in my case, the name of the apartment — and below that the floor. After that, an empty line appears and then a dash indicating that a new entry follows.
So far, everything is fine.
However, if you then set Other / Single-column list view fields to 2 in the detail settings and reload the overview, the following is shown:
The main heading with the field to be sorted
The name of the apartment
The floor
<the empty line that previously separated everything together with the dash from the next record>
The room description
<the dash separating the next record>Is this intended behavior? Especially in “dark mode”, the empty line above the dash is very helpful for visually separating the records from each other.
I wish you all a wonderful weekend.
Hi there,
I’ve used tap form LT since 2010 and today went to check some saved data only to find I can’t access the app. I tried all sorts and deleted app only to find I couldn’t reload as no longer in store. I restored my entire iPhone to get it back. I still can’t access the app and quote desperate to get at my data at this stage. How can I access all the data from LT and get into pro or 5? I have paid the subscription but I am unable to do anything and desperately need the data. Please please someone help.Many thanks Jessica
Hi there,
I’ve used tap form LT since 2010 and today went to check some saved data only to find I can’t access the app. I tried all sorts and deleted app only to find I couldn’t reload as no longer in store. I restored my entire iPhone to get it back. I still can’t access the app and quote desperate to get at my data at this stage. How can I access all the data from LT and get into pro or 5? I have paid the subscription but I am unable to do anything and desperately need the data. Please please someone help.Many thanks Jessica
Topic: Formated notified via Script
Hello everyone,
After I found out that note fields can be placed across multiple report pages, I am now trying to solve a problem using a note field. For this, I would need to fill it with content. My question is how I can change the formatting of the text via script — in other words, how I can make the font, alignment, etc. of the inserted text variable.
When you read from the field or enter something into it, you always only get plain text, at least as far as I have managed so far.
Thanks for all information and ideas.
SteveHi. I am new to Tap Forms 5, having just switched from Ninox. I am trying to recreate a cellar database, linking wines to bin locations, but getting confused with linking the two forms. The objective is to be able to identify and link unoccupied bin number(s) with a named wine when bottles are deposited and then to ‘release’ a bin number when a bottle is withdrawn. I have no experience of scripting with Java and am too old to start learning a new computer language now. I have already imported my database of wine details from Ninox, but have got stuck with how to link the Wines form and the Bins form. Any help would be very much appreciated.