|
darmir Sorcerer
Joined: 10 Oct 2000 Posts: 706 Location: USA
|
Posted: Mon Sep 20, 2010 1:09 am
Database Confusion |
I am really confused on how to change data in a database record.
I have a database called inventory
I have 6 fields:
across_back
on_waste
etc..
Now I want to add to the field across_back some text. How do you do it and then show it.
I was trying ADDKEY function but I don't think I am doing it correctly..
A little explanation would be helpful |
|
_________________ Run as hard as a wild beast if you will, but you won't get any reward greater than that destined for you.
Source: (Egyptian) |
|
|
|
hadar Apprentice
Joined: 30 Aug 2009 Posts: 198 Location: my apt, in california
|
Posted: Mon Sep 20, 2010 4:29 pm |
you can use #ADDKEY db Name record tp change the data so if you have across_back you can do
#ADDKEY equipment_DB across_back cloak
and use that for any item
to show it you can use @db.record or %db(@db,record) so that would be:
#show @equipment_DB.across_back
or
#show %db(@equipment_DB,across_back) |
|
|
|
|
|