Search found 168 matches

by p.dimitrov
23 Oct 2018, 15:04
Forum: Bug Report version 2.3
Topic: MySQL query + function
Replies: 2
Views: 3087

MySQL query + function

Hi, I'm using MySQL query in formula field [1052]. Formula is [1018]*[1194], which works well. entity.jpg Then I'm linking results in other entity with related items [1186] and using function {48:1186} to calculate total cost of attached items. Function doesn't work if "perform dynamically"...
by p.dimitrov
19 Oct 2018, 14:45
Forum: Discussion
Topic: one field to control another
Replies: 9
Views: 1417

Re: one field to control another

If I understand correctly what you want, it's possible with additional MySQL formula field that display different fields in one listing column depending of choice: case when [radio button field] = choise1 then [show pattern1] when [radio button field] = choise2 then [show pattern2] when [radio butto...
by p.dimitrov
18 Oct 2018, 14:08
Forum: Suggestions
Topic: MySQL query hide field if query is empty
Replies: 7
Views: 982

Re: MySQL query hide field if query is empty

It's possible in theory, but in general case if there is field value it will be more than zero. It guess it will be best if query returns null instead of 0 when it can't find field to select. Then maybe query field can be set to "hide if null"?
by p.dimitrov
18 Oct 2018, 12:28
Forum: Suggestions
Topic: MySQL query hide field if query is empty
Replies: 7
Views: 982

Re: MySQL query hide field if query is empty

Yes, I guess that will work.
by p.dimitrov
18 Oct 2018, 11:24
Forum: Suggestions
Topic: MySQL query hide field if query is empty
Replies: 7
Views: 982

Re: MySQL query hide field if query is empty

Please look what I mean:
query_result.jpg
Order can have up to 4 prices for different services. But not all services are used in every order, so here there are prices only for 2 services, but query shows 0 for the missing services. I don't need to show these as they are not used in this order.
by p.dimitrov
18 Oct 2018, 09:01
Forum: Suggestions
Topic: MySQL query hide field if query is empty
Replies: 7
Views: 982

MySQL query hide field if query is empty

Hi, it would be nice if you can hide the result of MySQL query if query is empty, like numerical fields can be hidden. For example you have to make a query for each order, but in some orders the result will be empty and that query will not be used, it can be hidden instead of showing "0" r...
by p.dimitrov
17 Oct 2018, 12:37
Forum: Discussion
Topic: Special Caharcters in Notification Mail
Replies: 3
Views: 632

Re: Special Caharcters in Notification Mail

You can use font awesome icons as values, maybe you should try and see if they are visible in email too. For example this is a code for check:

Code: Select all

<i class="fa fa-check-square"></i>
by p.dimitrov
17 Oct 2018, 11:19
Forum: Discussion
Topic: Calculate Future Date
Replies: 10
Views: 1413

Re: Calculate Future Date

Then I guess this field can't be selected or don't return correctly formatted value.
by p.dimitrov
17 Oct 2018, 08:32
Forum: Discussion
Topic: Calculate Future Date
Replies: 10
Views: 1413

Re: Calculate Future Date

Hi, value from parent entity can't be used in formulas, that's why it don't work. You should use Select function instead.
by p.dimitrov
16 Oct 2018, 15:25
Forum: Discussion
Topic: Calculate Future Date
Replies: 10
Views: 1413

Re: Calculate Future Date

Hi, to calculate future date you can use MySQL formula : FROM_UNIXTIME([date]+[days]*86400,'%d-%m-%Y') Here you need to replace "date" with a date field or added record date, and "days" with the period in the future that will pass. The output will be you initial date + specified ...