Questions tagged [computed-field]
84 questions
0
votes
1 answer
Only making part of text bold in Powerbuilder expression
Is it possible to make only a specific part of a string bold in a computed field or text object.

Drencrom
- 31
- 7
0
votes
1 answer
Drupal 7 Computed field in field collection
I have a field collection with 2 dates (Timestamp) and would like to calculate the difference between the dates. But I can't get it to work.. Any help?
Computed code:
$eind =…

Pieter Moeyersons
- 105
- 2
- 9
0
votes
1 answer
Populating Application Tables from SQL Tables in Visual Studio Lightswitch
I've written a separate plug-in application that log users activity in our office using a specific piece of software to a SQL database. The plugin logs when the user opens the application, their computer information, hardware, what files they open,…

Eric Anastas
- 21,675
- 38
- 142
- 236
0
votes
3 answers
Entity Framework Code First: Computed property that can access to is own table
Is it possible to create a computed property in EF code first that can use the others elements of it's own table?
If no, what is the best way to do it without using a context method (i would like a property to bind it on the wpf UI without using…

Anthony Bobenrieth
- 2,758
- 1
- 26
- 38
0
votes
1 answer
Computed field, Drupal 7, Conditional auto increment
I have a "Merchant" content type created for a web site. The Merchant content type has a select field called "City" and a text field "Locality".
I want to create a "merchant_code" field that has to be something like "AB-XY-0001"
where AB is first…

Akash
- 1
- 2
0
votes
1 answer
Cannot figure out how to compute a computed field in Lightswitch
I have the following problem - I would like to compute a field in my database based on a simple query and division.
First a bit of info about my database structure:
|WorkingUnits|-1---------n-|Materials|
e.i One-to-Many relation between WU and…

lapadets
- 1,067
- 10
- 38
0
votes
1 answer
mongodb computed field based on another query
I have a mongodb query, and I want to add a computed field. The computed field is based on where or not the item is in the results of another query. So my query returns the columns a,b,c,d, and then column e should be based on whether or not the…

Jeff Storey
- 56,312
- 72
- 233
- 406
-1
votes
1 answer
calculate Computed Field from datetime-range/time-range field using custom module hook
OK, I've been struggling with this for days now. Hopefully someone can shed some light on this...
Site is on Drupal 9.4.3 (currently the latest) using PHP 8.1.6
I have a content type with a datetime_range field setup to use as time-range (Start time…

sidgrafix
- 133
- 1
- 6
-1
votes
1 answer
Select from two different tables and store calculated value in a newly created table (Microsoft SQL Server 2014)
What would be the best way to take values from two different tables like 1st table has the value of Price, where 2nd table has the value of Quantity, and I will multiply Price by Quantity and the calculated values, Total_Price which will be store in…

Lim Min Yi
- 148
- 15