How to Rename a member?
Hi all,I should move and rename some members (automatically). I haven't found and easy way to do that so I write you to ask your experiences about it.Any idea would be welcome !Thanks in advance
Moving members can be accomplished with a load rule performing a dimension build. Just create your text file with the new hierarchial relationship and rebuild the outline.butrenaming an existing member sounds like a task for the outline api.from the html api help:Declare Function EsbOtlRenameMember Lib "ESBOTLW" (ByVal hOutline As Long, ByVal hMember As Long,ByVal pszNewMember As String) As LongSub ESB_OtlRenameMember()Dim sts As LongDim Object As ESB_OBJDEF_TDim hOutline As LongDim hMemProfit As LongObject.hCtx = hCtxObject.Type = ESB_OBJTYPE_OUTLINEObject.AppName = "Sample"Object.DbName = "Basic"Object.FileName = "Basic"sts = EsbOtlOpenOutline(hCtx, Object, ESB_YES, ESB_YES, hOutline) If sts = 0 Then sts = EsbOtlFindMember(hOutline, "Profit", hMemProfit) End IfIf sts = 0 And hMemberProfit <> 0 Then sts = EsbOtlRenameMember(hOutline, hMemProfit, "Prelim Profit") End IfEnd Subbtw: need to add esbinit to initialize the api and also esbautologin to login before peforming this code.
Similar Messages
-
How to rename members in batch mode
<p>Hi there</p><p> </p><p>I know members of outline can be renamed manually with EAS.</p><p>Does anyone know how to rename members of outline in batchmode?</p><p>Any method would be appreciated. (e.g.: Maxl, EAS API etc.)</p><p> </p><p>Thanks,</p><p>Mike</p><p> </p>
Thinking about it more, I would think that just renaming a member and not reloading the data would cause integrity problems? Data loaded against member X, which is now called member XY would bmessed up etc..?<BR><BR>Im not sure how you would go about this, without re-loading the data - but even then - the data would need to change in order to point to new member names also???<BR><BR><blockquote>quote:<br><hr><i>Originally posted by: <b>iitobs</b></i><BR>Hi Bri and Steve,</p><BR><BR><BR><BR> </p><BR><BR><BR><BR>Thanks for the reply.</p><BR><BR><BR><BR> </p><BR><BR><BR><BR>For new fiscal year, some parts of our organization need to<BR>change its names.<BR><BR>As the organization should hold the data of previous periods,<BR>renaming the member-name is much prefered than reloading the<BR>data.<BR><BR>Is there any good method?</p><BR><BR><BR><BR> </p><BR><BR><BR><BR>Thanks,</p><BR><BR><BR><BR>Mike</p><hr></blockquote><BR><BR>
-
How to rename a column name in a table? Thanks first!
I tried to drop a column age from table student by writing the
following in the sql plus environment as :
SQL> alter table student drop column age ;
but I found the following error
ORA-00905: 缺少关键字 (Lack of Key word)
I have oracle enterprise edition 8.0.5 installed at windows 2000
thank you
And I want to know how to rename a column name in a table?
thanksIn Oracle 8i, your syntax would have worked. However, if I
recall correctly, in Oracle 8.0, you can't rename or drop a
column directly. One way to get around that problem is to
create another table based on a select statement from your
original table, providing the new column name as an alias if you
want to change the column name, or omitting that column from the
select statement if you just want to drop it. Then drop the
original table. Then re-create the original table based on a
select statement from the other table. Then you can drop the
other table. Here is an example:
CREATE TABLE temporary_table_name
AS
SELECT age AS new_column_name,
other_columns
FROM student
DROP TABLE student
CREATE TABLE student
AS
SELECT *
FROM temporary_table_name
DROP TABLE temporary_table_name
Something that you need to consider before doing this is
dependencies. You need to make a list of all your dependecies
before you do this, so that you can re-create them afterwards.
If there are a lot of them, it might be worthwhile to do
something else, like creating a view with an alias for the
column or just providing an alias in a select. It depends on
what you need the different column name for. -
How to Rename a Topic ID in Map File to Avoid Conflict with Another Program?
Robo 8 HTML:
Can somebody assist me in understanding how to rename a topic ID in my map.h file?
An application programmer informs me there are nine topic IDs (shown below) in my project map file which conflict with predefined names of constants/functions from the Visual Studio Libs program and, is requesting I change the names of the topics listed below to resolve topic ID conflict in order to enable F1 call for these topics.
#define Open 59
#define Save 60
#define Print 63
#define Cut 72
#define Copy 73
#define Paste 74
#define Clear 75
#define Status 81
#define Substructure 139
Can I simply alter the topic names and retain their associated map numbers in <Create/Edit Map ID> dialog to resolve the map file conflict with Visual Studio Libs program functions? Or, is there more work involved in changing a topic name in a map.h file?
Any assistance with this question is greatly appreciated.
Thanks,
robertHi,
Simply renaming the TopicID's in the .h file won't work. The TopicID is used in the alias file (projectname.ali) to link a map number with a topic. Also, you can use either TopicID's or map numbers to call the help. (Using TopicID's only works for WebHelp afaik.)
If you use map numbers to call the help, you can rename the TopicID using the mentioned dialog. No problem.
If you want to change the ID from the files, you have to change both the .h file as the .ali file. No changes to topics needed. -
How to rename a macbook pro 13 inch 10.7.3 version
how to rename a macbook pro 13 inch 10.7.3 version?
As for the Users...
Go to system preferences - users and groups - click the plus sign - add the name you want.
Restart your MB - login with your username.
go back to users and groups - highlight your uncles name - click the minus sign. -
Can't figure out how to rename css style in mx
Hello,
I can't figure out how to rename css style in mx. I have the
style selected in the proprety inspector. Is there supposed to be a
rename option at the bottom of the same dropdown box? There is
option to edit style and a few others in same dropdown box... but
no rename option. Please be specific... I have looked it up on the
internet... but still cant find the option.
Thanks,
PoJDo a Find and Replace to find name1 and replace with name2.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"computerpain" <[email protected]> wrote in
message
news:ed43p3$m9h$[email protected]..
> Hello,
> I can't figure out how to rename css style in mx. I have
the style
> selected
> in the proprety inspector. Is there supposed to be a
rename option at the
> bottom of the same dropdown box? There is option to edit
style and a few
> others in same dropdown box... but no rename option.
Please be
> specific... I
> have looked it up on the internet... but still cant find
the option.
>
> Thanks,
> PoJ
> -
How to rename a file in Application server
Hi All,
Here I have a issue with the present file which is being generated in application server.
Before the completion of the file the EDI tool is extracting the file from the app server.So here I would like to generate the file with a temp name and then rename to the actual file name which EDI recognises and fetches.
Please correct me If I am wrong and let me know how to rename the file in application server.
Thanks,
Vijay Nyou can try using unix command , if your application server is unix.
use move command
mv <source> <target>
REPORT ZUNIX line-size 400
no standard page heading.
data: unixcom like rlgrap-filename.
unixcom = 'mv file1 file2'.
data: begin of tabl occurs 500,
line(400),
end of tabl.
data: lines type i.
start-of-selection.
refresh tabl.
call 'SYSTEM' id 'COMMAND' field unixcom
id 'TAB' field tabl[].
or else you can open dataset/ read the dataset and move it to another file and delete the old file. -
How to tag attribute member with standard dimension member in EIS
hi,
would any one please help me how to tag attribute member with standard dimension member in EIS
THANK U IN ADVANCEIn your OLAP model, view columns for the base dimension table. Go into the column properties and for the columns that have Attribute values highlight them and click the Attribute button.
Go into Metadata Model and those fields will be available to drag into your outline as attribute members.
Once in the outline, go into the properties of the attribute and assign the level of the base dimension they associate with. -
How to rename the column name in oracle 8i?
hi,
Does anyone know how to rename the column name in oracle 8i?My method was drop the relationship key first then delete the old column,finally add the new column.
Thanks for your replay.
jingThere is no facilty to rename a column name in Oracle 8i. This is possible from Oracle 9.2 version onwards.
For you task one example given below.
Example:-
Already existed table is ITEMS
columns in ITEMS are ITID, ITEMNAME.
But instead of ITID I want ITEMID.
Solution:-
step 1 :- create table items_dup
as select itid itemid, itemname from items;
step 2 :- drop table items;
step 3 :- rename items_dup to items;
Result:-
ITEMS table contains columns ITEMID, ITEMNAME -
How to rename folder in Final Cut Pro X project library?
How to rename folder in Final Cut Pro X project library? I can't double click on folder, when I right click it just gives options to erase. Can someone help?
I think you may have misunderstood - the question is regarding renaming a project "folder", not a project name.
Still, the accepted answer here makes no sense to me at all - it's about renaming an event. So we're all confused ;-)
BTW as of 10.0.5, I still cannot rename a project folder while background tasks are running - no clue is given that this is what's going on, second-clicking on the folder just (frustratingly) does nothing. When background tasks finish, it works again. -
How to rename the SharePoint Document Library existing file name using Web service
Hi,
How to rename the SharePoint Document Library existing file name using SharePoint Web service.
Is it possible. How could i do it?
Thanks & Regards
Poomani SankaranHi,
Lists.UpdateListItems Method
would be helpful for your requirement.
Here is a blog with code demo for your reference:
http://blogs.msdn.com/b/knowledgecast/archive/2009/05/20/moss-using-the-list-web-service-to-rename-a-file.aspx
Best regards,
Patrick
Patrick Liang
TechNet Community Support -
How to remove a member from cluster while CQ (cq5.5) instances are running?
Hello,
I have a query:
how to remove a member from cluster while CQ instances are running? And is there any particular log to check that it got removed?
Thanks in advance..I might be wrong. AFAIK you do not have the option to remove without shutting down and modfying cluster.properties.
However this usecase would be minimal because before going into production you would have verified your architecture. -
How to rename the existing project in NetWeaver
Hi All,
Please let me know the process of how to rename the existing project in NetWeaver.Hi,
If you want to rename Development Component (DC) project, here is the procedure..
How to rename local Development Component Projects in Netweaver Developer Studio
Regards,
Uday. -
How to rename a program name in ABAP.
Hi all,
How to rename a program name in ABAP. Please help me out in this.
Thanks & Best Regards,
Vishnuhi vishnu,
goto se38--> press Ctrl+F6
it will give one small screen source program and target program.
in target program type ur pgm name
reward if its useful. -
How to Rename the technical name and description of an infocube?
Hi,
How to Rename the technical name and description of an infocube?
Thanx in advance,
Ravi.Ravi,
You cant change the Technical name of the cube but you can change the description of the Cube. If you want to have a Cube with the same properties and with different Techname and Description better you do copy from the base cube and rename as per your requirement.
Regards,
Gattu.
Maybe you are looking for
-
Purchase requisition create/release
Hi I am creating purchase requisition. And i want to release this requisition. But in my created purchase requisition there is no tab such as release strategy And i want to keep my purchase requisition as blocked initially and later i want to release
-
HT1977 I purchased an app in ITunes but it will not install on my ipod
I've followed all steps in the "Help" section & still cannot resolve. I've never had good luck with Apple's response to these issues. Any advice?
-
Greetings, I was recently sent an agreement form or contract as an attachment to an email, but when I opened it, it was all script or gibberish or whatever it's called. In the end, I had to have the document faxed to me. Applecare told me that there
-
hi, I have a Cisco AIR-LAP1131AG-E-K9 when I boot one accesspoint it gives Ethernet LED = Off; Radio LED = RED ; Status LED = RED and only next listing in the screen: Xmodem file system is available. Flashfs[0]: unable to allocate available block.
-
Development, Test, Acceptance, Production Set-up for ES2
Hi collegeau LC experts!, At a client we have setup a server structure that consists of DTAP, so seperated server and LC instances for the various goals. Now we are facing a need to get production data in sync with the other environments. This way we