assassinator
12th June 2008, 04:52
Help, please! I am mad with this requirement! So mystification!
Now, the client requires to modify the report ID. The report ID is not in the report's content but in the report's title bar(As the attachment picture, I mark the target)!
I say no word!
george7a
12th June 2008, 09:13
Modify it to what?
The print screen you posted is taken from BWprint, the marked area is the name of the file that is opened. So I guess if you rename this file to "User Defined", the title also will change.
- George
assassinator
12th June 2008, 09:51
I am sorry,George, I cann't get your point. What's the mean of "rename the file to 'User Defined'". Where can modify this, in session, in report?
george7a
12th June 2008, 09:55
I meant to rename the BWprint file to what ever the user want. for example I want to rename it to "george". Check the screen shot
assassinator
12th June 2008, 10:03
Yeah!! The client just want to change the title bar. The problem is how to change it to 'george' like you said. What I marked, it is a preview file's title bar, not the file's name.
george7a
12th June 2008, 10:16
What I did is only renamed the file from rtivxw040111000.bpf to george.bpf. That's all!
You can program a simple device to do that for you. All you have to do is copy the bpf file to the local (using server2client) and then open it (using app_start). Here is an example of the simple program I wrote for you:
#pragma used dll ottdllbw
function main()
{
string my.filename(100)
my.filename = "C:\george.bpf" | change this to whatever you want.
server2client(argv$(1),my.filename,0)
app_start(my.filename,"C:","","","")
}
All you have to do now is to print the report to the device that will activate this script!
I hope it helps,
- George
assassinator
12th June 2008, 11:00
En, I had copy the above script. Then creat a file "george.bpf" in Dick C. The result is , open two files, one is "george.bpf" like you said. But the file is empty. The other is system default, the file which the client wants to change.
And I thought the solution what the client want is not this. Just like to find out the field which store 'rtivxw040111000', then modify its value.
shivakumar
12th June 2008, 16:08
hi,
program in such a way the document should be read from the local file of the required document when the session is runned and print it on the report you will get it.
second option is you can use flexform tool to the baan report and can extract any type of report.
shiv