Table Name and Column Name Same

Table Name and Column Name Same

a2ztecha2ztech Posts: 19Questions: 2Answers: 1

Editor > In-line Editing > Join Tables
I have a situation where a table name is identical to one of it's column names.
I just need to read from the column (and not write).
Please note: I am using in-line editing with a JOIN option and this table is a parent table (with some master data in it).
Earliest help is appreciated. Thanks!

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,810Questions: 1Answers: 10,516 Site admin
    Answer ✓

    You should be able to do:

    Field::inst( 'name.name' )
    

    replacing name as needed of course. Is that not working for you?

    Can you show me your code and also any errors you might be getting.

    Allan

  • a2ztecha2ztech Posts: 19Questions: 2Answers: 1
    edited June 2016

    Allan,
    Thanks for your prompt response here.

This discussion has been closed.