• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

Renaming field  RSS feed

 
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am currently having a problem renaming a field and wonder if someone might be able to help me with this problem?

I have opened the database in Netbeans IDE 8.1.
I found the field that needs to be renamed and renamed it.
Not only was the field on the current form reflecting the change, but another
form also showed the new name as well.

I re-built the .jar file and opened the app.
The field name had not changed in the app.

I went back and tried to clean and re-build the .jar file.
This time I got an error and could not clean/rebuild.

So I just chose rebuild once again.
I opened the app again, but once again the field name had not changed.

Any suggestions on this?
 
Sheriff
Posts: 12737
210
Android Debian Eclipse IDE IntelliJ IDE Java Linux Mac Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That all depends on what you mean by "field name has not changed" and the code that's involved.

Are you referring to a database field or a field in an object? What code is involved in displaying this name that you say isn't changing? Show it to us so we have a better idea of what's going on.  
 
David Henstridge
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Junilu Lacar wrote:That all depends on what you mean by "field name has not changed" and the code that's involved.

Are you referring to a database field or a field in an object? What code is involved in displaying this name that you say isn't changing? Show it to us so we have a better idea of what's going on.  



First off I must apologize for not getting my terminology straight.
I did not rename a field, but rather the field's label.

The only thing I see mentioned in the code for the label is:


Under the label's properties I see:
text:  RNC

This is the new name I gave the label.

What else would I have to change to get the new label to show?
The old label that still shows is Account ID.


 
David Henstridge
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found a few more references to the label in the code:

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!