Questions tagged [field]

In computer science a field is a smaller piece of data from a larger collection.

In computer science, data that has several parts can be divided into fields. Relational databases arrange data as sets of database records, also called rows or tuples. Each record consists of several fields, also called attributes; the fields of all records form the columns.

In object-oriented programming, field (also called data member or member variable) is the data encapsulated within a class or object. In the case of a regular field (also called instance variable), for each instance of the object there is an instance variable: for example, an Employee class has a Name field and there is one distinct name per employee. A static field (also called class variable) is one variable, which is shared by all instances.

Source: Field (Computer Science) - Wikipedia article

Related tags:

5904 questions
1
vote
2 answers

How to get a vector field that maps the slopes of an equation

Hey so I'm reading this article by Chris Hecker where he has an image of a Parabola surrounded by the a vector field of it's derivative: However he never mentions how exactly he got the vector field equation, and never even states it. He does say…
Griffin
  • 2,399
  • 7
  • 48
  • 83
1
vote
1 answer

Get field values in Runtime

How to get value of the field in Runtime for Java? EDIT: using this construction: ClassPathScanningCandidateComponentProvider scanner = new ClassPathScanningCandidateComponentProvider( false); for (BeanDefinition bd…
sergionni
  • 13,290
  • 42
  • 132
  • 189
1
vote
3 answers

Objective c. How to remove scroll bar from textarea?

I need a little help here. I made pretty simple app for my iPad with only one text area (by using Text Field object) on background image. I placed some poem in this text field but this poem is more longer than iPas's screen so after running my app…
user987832
  • 11
  • 1
1
vote
3 answers

How to observe when a custom object changes even after it's extended

So let's say I have a custom object in java: public class TestObject { private int value = 0; public TestObject(int value) { this.value = value; } public void increaseValue() { value++; } …
Zargoon
  • 333
  • 1
  • 3
  • 15
1
vote
1 answer

How to write an expression for SSRS where the average is taken of a column or field that is first being filtered by another field value?

I am new to SSRS and I'm needing to add a field with an expression that will take the average of another field. This field being added will be in the header of the report for general info. The tricky part is that this column is shared between two…
1
vote
1 answer

Replace checkout Username label name with Astra theme in WooCommerce

I would like to change the text that is set as default "Username or Email Address" with a PHP snippet to "Correo". I tried different ways but haven't got success. I tried this way, but it doesn't take any…
luis Lagos
  • 11
  • 1
1
vote
2 answers

C# parameterless initialization class property that sets field parameter in ctor

I am currently solving some issue that I have been solving at least five times. Lets have a class like this. This is working solution, but I have to initialize class through parameter in ctor. public class ArrayBenchmark { private readonly int[]…
1
vote
2 answers

How to update field from SQL database

I have a lotus notes application that has a document with a Number, and a description field. Users reserve a series of numbers at which point documents are created. They then fill in the description and a few other things. Once this is done they go…
George Duckett
  • 31,770
  • 9
  • 95
  • 162
1
vote
2 answers

Distinguished field on a web service (BizTalk)

How do you access a field in the message returned by a web service call ? I found Richard Seroters blog post but it says to drill through the Reference.map to the Reference.xsd ... - problem is, I've not got a Reference.xsd - I do have the…
SteveC
  • 15,808
  • 23
  • 102
  • 173
1
vote
2 answers

How to SELECT DISTINCT of one field and other fields From INNER JOIN table

I use PHP and MySQL and I have 2 tables: table score: have fields 'user_id' and 'score' table user: have fields 'user_id' and 'user_name' People play game then store user_id and score in table 'score' every time game was ended. There are many rows…
AJ OP
  • 345
  • 2
  • 5
  • 16
1
vote
1 answer

Is there a way to get static buffer field's name by static reference?

I know there's way to get static buffer's table name with this: DEF BUFFER Customer_B1 FOR Customer. DEF VAR cTableName AS CHAR NO-UNDO. cTableName = BUFFER Customer_B1:HANDLE:TABLE. Is there a similar way to get buffer field handle and it's…
W0lfw00ds
  • 2,018
  • 14
  • 23
1
vote
1 answer

extjs remove field from column in fieldset

With my fieldset, I have a column layout containing different components. Based on the value of the combo, I want to remove the textField from one column & replace it with a new combo. I have the logic to get the value of the combo but I can't seem…
pm13
  • 735
  • 7
  • 23
  • 36
1
vote
1 answer

C# Assign/cast to object fields in a struct

Sorry for this newbie question, I'm very new to C# and it's semantics. I have the following struct: public struct MT5Command{ public MT5CommandType Type{ get; set;} public AutoResetEvent ThreadWaitHandle { get; set; } public object…
Juergen
  • 3,489
  • 6
  • 35
  • 59
1
vote
1 answer

Make employee field readonly from configured fields(many2many field)

I am using odoo version 16, earlier I am using odoo version 11 and i want to upgrade my code from v11 to v16. I am stuck at one method where I want to make some fields read-only from defined configured fields(many2many field in setting) for a…
Pawan Kumar Sharma
  • 1,168
  • 8
  • 30
1
vote
1 answer

how can we delete fields from document firebase firstore I am working with angular firestore

basically I'm trying to restructure all the docs in my collection I have updated but I still have previous fields I want to remove them These two code snippets are not working for me const userRef = doc(db, "users/dWE72sOcV1CRuA0ngRt5"); // Remove…