Welcome!
This community is for professionals and enthusiasts of the Genio platform.
Share your questions and challenges, and help your partners!
Set field to gets a time
How to set field to gets a time witch is the current time on this computer (HH:MM) on NightlyGenio289.30?
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.
Keep Informed
About the Community
Question tools
Stats
Asked: 5/14/20, 8:11 AM |
Seen: 1645 times |
Last updated: 8/22/20, 3:40 PM |