Hi there!
I've looked up how to change the names of fields but nothing is working. Is there a special trick or something? I feel reeeeeaaaallllyyy stupid right now.
Please help! (Thanks in advance!)
[Solved] Alter field names of table
[Solved] Alter field names of table
Last edited by MrProgrammer on Tue Aug 06, 2024 6:19 pm, edited 1 time in total.
Reason: Tagged ✓ [Solved] -- MrProgrammer, forum moderator
Reason: Tagged ✓ [Solved] -- MrProgrammer, forum moderator
~*aquadonia*~
Open Office 4.1.15
Windows 10
Open Office 4.1.15
Windows 10
Re: How to do I change field names?
To change the name of a column in a table, click on the Tables icon in the left pane, right click on the desired table and select Edit, type a new name in the Field Name column, and save the table. You should also save the whole Base document afterward.
You can also do this from the Tools -> SQL menu. If I have a table named "Scores" and I want to change the name of the Type column to Sport, the SQLis
This assumes you are using the default HSQLDB database engine.
You can also do this from the Tools -> SQL menu. If I have a table named "Scores" and I want to change the name of the Type column to Sport, the SQLis
Code: Select all
ALTER TABLE "Scores" ALTER COLUMN "Type" RENAME TO "Sport"
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
Re: How to do I change field names of a table?
FJCC did provide the "special tricks" for actually changing field names. If that solved your issue, disregard my comment here.
If you still have trouble, you should give more detail:
- Your searches:
- Where did you look for solutions on how to change names?
- What advice did you find?
- Your attempts:
- Did you try to follow the advice?
- Were you able to do anything at all, or did all modify options seem to be locked?
- Your results:
What is the nature of "nothing is working"?- What is it you are trying to get to work?
- Do you get error messages, wrong results, or no results at all?
Remember that this is a public place, so you should not upload any file with confidential content. Also, database files may easily grow in size beyond what is allowed as attachments here. If such is the case, you will be notified when you try.