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
1 answer

Extract first fields from struct columns into a dictionary

I need to create a dictionary from Spark dataframe's schema of type pyspark.sql.types.StructType. The code needs to go through entire StructType, find only those StructField elements which are of type StructType and, when extracting into dictionary,…
marcin2x4
  • 1,321
  • 2
  • 18
  • 44
1
vote
1 answer

X509 Certificate Modifying Distinguished Name Field

Due to size limitation, I would like to alter OpenSSL configuration file so then I would be able to generate smaller x509 certificates. Is it possible? If so, I would like to have a Pseudo ID instead of all distinguished name fields. When I want to…
CppChase
  • 901
  • 12
  • 25
1
vote
3 answers

Acumatica Fill field from other field

I need to fill a field "description" from other field in a screen Acumatica. The problem is that one of the other field contains the identifier of the DAC but I have to retrieve the description and not the identifier. I tried to do this with a…
1
vote
1 answer

How to rename the first level keys of struct with PySpark in Azure Databricks?

I would like to rename the keys of the first level objects inside my payload. from pyspark.sql.functions import * ds = {'Fruits': {'apple': {'color': 'red'},'mango': {'color': 'green'}}, 'Vegetables': None} df =…
OrganicMustard
  • 1,158
  • 1
  • 15
  • 36
1
vote
2 answers

Add ACF in table wordpress

I have a text field with ACF. On one page where I have a simple table, I want to import that ACF text into one field in the table. But not sure how to add?
alorange
  • 41
  • 4
1
vote
1 answer

How can I copy value from dropdown once I select it to text area as text?

How do I copy the value of the department from the dropdown to the text area once I select it? For example if I select IT department I want it to appear in comment text area like "IT Department:"...comment ... Sorry I'm newbie for coding and I want…
1
vote
2 answers

How do you change an Access field type from Yes/No to Short Text?

I have created a temporary table which will be output to Excel that uses Yes/No fields which I want to turn into text answers Yes & No (as opposed to -1 and 0), so it is clear to the users of the spreadsheet. Right now I have: Private Sub MySub() …
1
vote
1 answer

Confusion about fileds and get methods in Kotlin

Since A is a property and not a field, does that mean that A and B are functioning exactly the same way? If not, what are their difference? class myClass(val x : Int, val y : Int){ val A = x * y val B :Int get(){ …
1
vote
2 answers

After SQL update, field is set to 0 [PHP/MySQL]

Okay, I'm currently sick so maybe the answer is right in front of me but I've been sitting here for the past 4 hours trying to figure out why this is happening. Basically I have a script that is supposed to update a row in the database. The field…
Tanax
  • 433
  • 2
  • 10
  • 20
1
vote
1 answer

Django username only unique for active user

I've created a custom model User with the field username (char field) and active (boolean field). The username field should only be unique when the user is active, otherwise, I want to rename the user to 'inactive' so the username can be reused by a…
lionel
  • 140
  • 1
  • 2
  • 12
1
vote
0 answers

Dynamically access member of namespace in Typescript

In TypeScript, how do I access a member of a namespace without hard-coding the member name? As an example, I have one externally defined file: //This file (tsDemoTypes.d.ts) is externally defined //and CANNOT BE CHANGED, but the exported 'ValidName'…
WBT
  • 2,249
  • 3
  • 28
  • 40
1
vote
1 answer

Odoo - hide / modify / append on generated fields

There are fields like campaign_id which i would like to hide, or append some other fields after them: But all my expression get fully ignored: like...
eXe
  • 662
  • 11
  • 26
1
vote
2 answers

How to count fields in access table with Java?

i am working on a project to edit access tables without access ,but with java so i want to get the count of fields of the table This is the code : package DatabaseEditor; import java.sql.*; import java.util.ArrayList; import…
1
vote
2 answers

Read and write all control properties in a database field separately via VB6

I need to save the properties of about 50 controls in the form, such as length, width and height, distance from the top, distance from the left, font color, background color, etc in Access 2003 data base. And since Access 2003 only has the ability…
user334681
  • 169
  • 8
1
vote
1 answer

Fix "Value is too long" in Directus field

i have a CSV field in Directus and when i want to add one more tag it says "[VALUE_TOO_LONG] Value is too long.". I thought it was MAX_PAYLOAD_SIZE so i added to .env file but nothing changed. Anyone knows how to solve this?
Bian
  • 11
  • 1
1 2 3
99
100