Skip to main content
Forum
Privacy
Contact
How to enable Javascript
Sign Up
Log in
Welcome to the Ninox community
Search all topics or
ask a question
Learn and share
Get help
Service status
Documentation
Solutions
Setup
Databases
Automation
My account
Administration
Webinars
Overview
Profile
Jacques TUR
Jacques_TUR
Ninox developper
France
www.umangenius.com
Follow
La perfection est atteinte, non pas lorsqu'il n'y a plus rien à ajouter, mais lorsqu'il n'y a plus rien à retirer.
Joined
Sat Nov 14 09:45:24 UTC 2020
870
posts
559
likes received
20
followers
Latest Posts
Re: Creative community and javascript
I realize that I don't have put the link to the new thread about NativeJS. I separated it from this post so as not to confuse calls to JavaScript via the Eval function and NativeJS which allows you…
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
1
Learn and share
Reported - view
Re: Ninext : Fields inspector (evaluate the impact of changing/deleting a field before to do)
@Fred It's just that I'm lazy and I was tired of having to open and close all these windows. It made me lose my train of thought when I was looking for a bug 😅.
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
1
Learn and share
Reported - view
Re: NEW: Dynamic print layouts for public cloud
@RoSoft_Steven Thank's, This is good news and a wise decision by Ninox to extend it to all private and public cloud users.
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
1
Learn and share
Reported - view
Re: Ninext : Native JavaScript
I just put a small patch online: version 1.0.3. I found a bug that occurred when NativeJS code called a global function. It concerned the management of variable scopes which was not respected.…
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
1
Learn and share
Reported - view
Re: Ninext : Fields inspector (evaluate the impact of changing/deleting a field before to do)
In this latest version 1.0.6 of FiledsInspector, I have added the ability to open the edit window of the field or column that is in the list by clicking a button.…
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
1
Learn and share
Reported - view
Re: Ninext : Fields inspector (evaluate the impact of changing/deleting a field before to do)
dear @Alan Cooke difficult to answer you because, yesterday I did not change anything. The only update I did was today, 1 hour ago. On the other hand, I don't use a window to initialize the code…
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
Learn and share
Reported - view
Re: Ninext : Fields inspector (evaluate the impact of changing/deleting a field before to do)
I just updated the field inspector to version 1.0.6 : - Automatic update of the inspector content when a field is modified. Thus, if the modification has an impact on the dependency links,…
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
3
Learn and share
Reported - view
Re: Ninext : Fields inspector (evaluate the impact of changing/deleting a field before to do)
@buy yes, I discovered this yesterday. I just fixed the problem, just reload the application and it should work fine.
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
Learn and share
Reported - view
Re: Comments icon hi-lite like Attachments.
@Mel Charles here is an example that uses NativeJS to count the number of files in the current record. Put this code in a formula to see the result. var t := this; var nbFilesInFields := #{:…
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
Get help
Reported - view
Re: Ninext : Fields inspector (evaluate the impact of changing/deleting a field before to do)
I have just released FieldsInspector version 1.0.4 beta: Bug fix: When a field was modified in the fields edit window, the badges disappeared and the search became inoperative.…
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
Learn and share
Reported - view
Re: Comments icon hi-lite like Attachments.
@Mel Charles to add badge on tab, see this post : https://forum.ninox.com/t/h7hn1sh To count the number of files, you need to know that cnt(files(this)) will return all files related to this record.…
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
Get help
Reported - view
Re: Print and download file name not same as saved filename
@Mel Charles 👍
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
Get help
Reported - view
Re: Ninext : Fields inspector (evaluate the impact of changing/deleting a field before to do)
Hello everyone, I added some functionality to FieldInspector: - Display of the field dependency hierarchy. It is now possible to display all sub-dependencies of a field.…
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
2
Learn and share
Reported - view
Re: Ninext : Fields inspector (evaluate the impact of changing/deleting a field before to do)
@Fred I have optimized the field search and the loading time of the field edition window is now much shorter. The search is done only once for all tables at once at the first use.…
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
Learn and share
Reported - view
Re: Print and download file name not same as saved filename
@Mel Charles It looks like you didn't use the last code. Is it possible? After copying the last code of the DownloadFile function, try to place the following code in a button and let me know what…
Attachment
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
1
Get help
Reported - view
Re: Print and download file name not same as saved filename
Another update, because there were incompatibilities from one browser to another. This version seems to work well everywhere, although on FireFox it gives you windows with the files instead of…
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
Get help
Reported - view
Re: Print and download file name not same as saved filename
@Jacques TUR Here is a small correction for the case where there are several files to download in a row. In the previous code, the download succession was too fast and sometimes it skipped some files.…
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
Get help
Reported - view
Re: Print and download file name not same as saved filename
There are two solutions with the JavaScript code: 1st with NaviteJS. This function can be added to the global functions and be used in all the application : function downloadFile(file : file,…
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
Get help
Reported - view
Re: Function parameters - which types are possible
@Sean Sean This solution does what you want : function ModifyTable(table : text,recs : text) do "creation of Ninox code in the form of a character string that will modify the correct table.…
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
Get help
Reported - view
Re: Function parameters - which types are possible
@Jacques TUR I just did the test with the database you sent me. I added First, Last and Full name fields to the Vendor table. Then called the function with some records of this table.…
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
Get help
Reported - view
Re: Function parameters - which types are possible
@Sean Yes, I understood a little what you wanted to do, but unfortunately with the function in NativeJS it's not possible either because the name of the table is also hard coded.
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
Get help
Reported - view
Re: Function parameters - which types are possible
@Jacques TUR In fact, to manipulate a table without knowing it in advance, you have to use javascript only. Ninox being a pre-compiled language, it needs to know in advance the nature of the…
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
Get help
Reported - view
Re: Function parameters - which types are possible
@Sean I don't understand what you mean? In both cases the number of the table is hardcoded in the function : ---------------- Code 1 : function calculateNID( strNID : text) do var table := #{:…
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
Get help
Reported - view
Re: Function parameters - which types are possible
@Sean In the end, it is not very interesting, because it is possible to do the same thing in pure Ninox white 2 lines 🙄 : function calculateNID( strNID : text ) do var arrayOfNID := split((strNID),…
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
Get help
Reported - view
Re: Function parameters - which types are possible
@Sean With your test application, I was able to fix a bug that leaves Ninox in waiting mode and add the possibility to put code in a global function. Until then I had not tried it and I had forgotten…
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
1
Get help
Reported - view
1
21
22
23
24
25
35
Ninox-Website
Overview
Learn and share
Get help
Service status
Documentation
Solutions
Ninox E-Invoice
Setup
Installed apps
Public Cloud
Private Cloud
On-Premises
Databases
Tables
Table relationships
Fields and elements
Pages
Views
Import and export
Modules
Printing
Templates
Use cases
Automation
Performance
Scripting
Functions
API
My account
Subscriptions
Administration
Manage workspaces
Manage collaborators
Access permissions
Backups and storage
Process monitor
View all topics