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
884
posts
581
likes received
20
followers
Badges
Latest Posts
Re: Detect list selection
@UKenGB With your indications, I could reproduce the problem and find the bug. Indeed, the hooking procedure that sends the onselect event was not set up.…
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
Get help
Reported - view
Re: Detect list selection
@UKenGB The code checks if the loading has already been done. If it has, it writes : exModules version 1.02 beta already loaded
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
Get help
Reported - view
Re: Detect list selection
@UKenGB Everything you are doing seems to be correct. It's a problem that seems random, and just this morning I found a random module loading error in my code.…
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
1
Get help
Reported - view
Re: Detect list selection
@UKenGB I understand that it is too long for you to do all these tests. Can you just send me the code you had put in the 'Trigger after open' ?
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
Get help
Reported - view
Re: acces to array items like with Where fonction
@Matthias S. Simply replace the code with this one: var a := numbers('Select characteristics'); select Contact where (var b := numbers('list of characteristics'); count(a[var v := this;…
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
1
Learn and share
Reported - view
Re: acces to array items like with Where fonction
@Fred @Fred Lines 4 and 5 creates a variable "c" that consists of numbers that are in both variable "a" and "b". On line 4 and 5, the variable C contains the numbers common to A and B.…
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
Learn and share
Reported - view
Re: Detect list selection
@UKenGB Ok, let me know because, I'm interested in eliminating a bug in my Ninext code. Thanks in advance.
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
Get help
Reported - view
Re: acces to array items like with Where fonction
@Fred said: To me the Select Contact where (count(c) = count(a)) says, count the number of items in variable c and check if it is equal to the number of items in variable a.…
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
Learn and share
Reported - view
Re: Detect list selection
@UKenGB I can't seem to reproduce the problem. In the attached example, I put an onselected in all tables and it seems to work fine. Can you send me an example that does not work?
Attachment
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
Get help
Reported - view
Re: acces to array items like with Where fonction
I was inspired by the code published by @John Halls below. The idea is to do a boolean AND operation between the DMC of the filter (named Select characteristics) and the DMC of each record (named…
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
1
Learn and share
Reported - view
Re: Detect list selection
@UKenGB The EvalJS app work or not ? Could you send me one application to test it ?
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
Get help
Reported - view
Re: acces to array items like with Where fonction
@Matthias S. Something like that ?
Attachment
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
1
Learn and share
Reported - view
Re: acces to array items like with Where fonction
@Matthias S. Could you send me one exemple or tell me more ?
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
Learn and share
Reported - view
Re: Detect list selection
@Jacques TUR said: In the end, for the user it is very inconvenient and it can also be an opportunity to display a welcome message. I wanted to say : In the end,…
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
Get help
Reported - view
Re: Detect list selection
@UKenGB if you run the init script in the console it will return the html but it won't run it. To install the code of Ninext, it is necessary to execute JavaScript.…
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
Get help
Reported - view
Re: Detect list selection
@UKenGB Here is an example of initializing Ninext using the after open trigger.
Attachment
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
Get help
Reported - view
Re: Detect list selection
@UKenGB Indeed, I had not received a notification for your message. It's surprising 🤔. At the same time, I'm not very familiar with Github and I'm learning to use it as I go.…
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
Get help
Reported - view
Re: Detect list selection
@Jacques I just saw that I complicated things a little for nothing. It is not useful to pass the record number as a parameter since it is that of the current record (this).…
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
Get help
Reported - view
Re: Detect list selection
@UKenGB I created the function in a new version of Ninext/exViewEvent: It's still only a prototype and we'll have to test it to check that it works well in all cases.…
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
1
Get help
Reported - view
Re: Detect list selection
@UKenGB There is a simple way to do this, just add a tab first in the list of fields: Then you add your code in the Display If trigger Don't forget to put true (or any other formulas) at the end of…
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
Get help
Reported - view
Re: Detect list selection
@UKenGB I think it's possible by inserting the onSelect function into the Visible If trigger of the table. I have to look if it's possible. What would be the use for you?…
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
Get help
Reported - view
Re: Detect list selection
This post might help you: https://forum.ninox.com/t/60hbvbz/add-onselect-event-for-view-field
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
Get help
Reported - view
Re: Field Duration time in second
Duration fields return a value in milliseconds. To get the value of a duration field in seconds, simply divide it by 1000: number(Durata)/1000
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
Learn and share
Reported - view
Re: Track selection of Dynamic Multiple Choice field
@Fred Yes, it is sometimes important to distinguish between the types of variables returned by the Ninox functions : - numbers(dMC); return an array of number record id.…
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
Learn and share
Reported - view
Re: Track selection of Dynamic Multiple Choice field
@Fred said: Just remember to only use one dMC at a time. You have to de-select everything from one dMC before using another. I'm not sure to understand why you would recommend clearing the dMC…
Jacques TUR
Ninox developper
Jacques_TUR
3 yrs ago
Learn and share
Reported - view
1
25
26
27
28
29
36
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