Welcome!

This community is for professionals and enthusiasts of the Genio platform.
Share your questions and challenges, and help your partners!

1

1
Álvaro Damas
On 14/5/2020 下午4:58

At this moment the function Agora is returning a DateTime, contrary to what is said in the function itself in Genio, return Text.

I suggest creating a function in Genio itself, e.g., TimeNow, and implementing it for C # and JavaScript. See images below.




Then you can call this function in the formulas to fill in the fields.


After Genio generates the code, there is a warning that the function is not implemented for Transact SQL.

warning: Function 'TimeNow' is not implemented for 'T-SQL' but used in formula 'formula' of table filed [HORAR->NOW].

This function should also be implemented. But in this case, as we are exemplifying filling in the interface, there is no calculation component on the server. That is, if we perform a database maintenance using WebAdmin, this field is not changed. If it were, there would be a need to create a function for T-SQL as well.



0
José Fonseca
On 14/5/2020 下午1:52

Hi Martins,

There a formula in Genio that returns the current time named Agora:


Hope this helps.


Keep Informed

About the Community

This platform is for beginners and experts willing to share their Genio knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers. Read Guidelines

Question tools

19 follower(s)

Stats

Asked: 14/5/2020 上午8:11
Seen: 1698 times
Last updated: 22/8/2020 下午3:40