Questions tagged [field-names]
83 questions
0
votes
1 answer
Python: Get column headers for data from certain column
I have a bunch of tab-separated text files that I need to process. I need to get the headers for all unique values in the column 'study'.
For example:
If my data is like:
csv1:
name study id race
aaa cb10 123 asian
bbb cb10 128
ccc…

pam
- 1,175
- 5
- 15
- 28
0
votes
1 answer
Get Table and Field names used to create a query in Access VBA
I am trying to get a list of the tables and fields that are used to produce queries in an access database. I am able to identify the fields found in a query output but not the fields used to design the query.
In other words, is it possible to obtain…

mccdo
- 55
- 3
- 11
0
votes
1 answer
Can another column name than "value" be used in Highmaps?
I have a JSON file with multiple columns, and would like to keep the display of any of those as a map relatively open, based on the choice of the user. Now, I can't see any examples of using other column names for display in Highmaps than "value".…

luftikus143
- 1,285
- 3
- 27
- 52
0
votes
2 answers
Is an abstract class with fields considered not a good practice?
I created an abstract class that implements an interface. This abstract class will be the base of several concrete classes that need to populate the properties of that interface.
The CLR compliance warnings pop up on the first two examples. I…

Rich Shealer
- 3,362
- 1
- 34
- 59
0
votes
3 answers
How to get the field names of a list inside foreach?
I have the following class:
public class ListOfVariablesToSave : List
- >
{
public List

Leonardo Trivino
- 295
- 1
- 4
- 11
0
votes
1 answer
Merging field names in the datagridview
I want to merge the fieldname in the datagridview which is all text of each field names has combined and make it as one for example:
cashierfn: Don
cashiermi: C
cashierln: Lee
and combine it as:
Cashier Name: Lee, Don C.
I made this code to get…

Spidey Eudz Aragon
- 29
- 1
- 9
0
votes
1 answer
In Qualtrics, what are the limits on field names?
I've never used Qualtrics myself and do not need to, but my company receives Qualtrics-generated CSV data from another company, and we have to advise them about the names to use for fields/variables, such as "mobilephone".
The main thing I need to…

Lenoxus
- 545
- 1
- 4
- 19
0
votes
0 answers
naming parameters for ORMLITE
I have looked through the ORMLITE Documentation for naming.
Let's say I have an object called Contract. When I call the API for Contract, it contains two parameters: name & type. When I create a class for Contract, do I have to match the two…

Derekyy
- 1,018
- 4
- 18
- 31
0
votes
2 answers
Matlab Fieldnames indexing
So I have a cell array with multiple tables and I am trying to access the first column name of the table.
c={'table1', 'table2', 'table3'}
Both of the following lines gives me the error:
fieldnames(c{1})(1)
fieldnames(c{1}){1}
Error: ()-indexing…

user3919274
- 3
- 1
- 2
0
votes
1 answer
Ambiguous field names / add table name with FETCH_OBJ
I've got a table T1 with 2 foreign keys targeting the same table T2.
So, my SQL statement is like that :
SELECT *
FROM T1
INNER JOIN T2 AAA ON AAA.ID = T1.ID1
INNER JOIN T2 BBB ON BBB.ID = T1.ID2
(this sql works)
Then, I use $info =…

user2995748
- 21
- 6
0
votes
1 answer
Is there a way to specify the name of the autoincrement id in Django?
How can I change the field name of Django's autoincrement from id to something like tablename_id?
I want to do it in the model definition itself.
The autoincrement key is created automatically do there doesn't seem a way to set it via the db_column…

vfclists
- 19,193
- 21
- 73
- 92
0
votes
1 answer
Grouping and Summing Up To 30 Columns
I have a cross tab query displaying the final results to be presented in a Report format.
I need about 30 columns to be grouped and summed together as one master column.
Having issues with Microsoft 2010 and also with the tables and field names.
0
votes
2 answers
Is there a way to get field name including class containing it and another class containing this class if field passed into function as object?
I doing next thing...
I pass into some function the field of some controls, like:
class ScenarioSelector
{
public ScenarioSelector()
{
SubjectInfo.SetStr(lbl_labs_header.Text);
}
}
class SubjectInfo
{
public static void…

Kosmo零
- 4,001
- 9
- 45
- 88
0
votes
0 answers
using $output to display field from MySQL
In my RSVP page I want to be able to bring up a message to guests showing the name along with a message saying "You have been invited to ......".
I have added a field in my database rsvpEvent and double checked the naming is correct.
If someone…

Craig
- 15
- 7
0
votes
1 answer
Field Name Best Practices (Shadowing or Compund Names)
As the red block above (warning that this is a subjective question and may be closed) there may not be a stone etched law on this, but I don't see why that would warrant closing a question.
...Rant aside
I am planning on implementing Hibernate as my…

LostNomad311
- 1,975
- 2
- 23
- 31