Home » Developer & Programmer » Forms » Change
Change [message #83020] Sat, 26 July 2003 02:47 Go to next message
shankar
Messages: 29
Registered: January 2002
Junior Member
I am using forms 4.5 and have finished a project for a client.Now the client needs the same software for a different company.How to change the company name through out the forms and report at once instead of doing it individually?(We have already changed the company name in some of the forms individually)
Re: Change [message #83026 is a reply to message #83020] Mon, 28 July 2003 00:53 Go to previous messageGo to next message
Sun
Messages: 92
Registered: August 2002
Member
Some vc++ sample programs are available with forms 6i. But i dont know about 4.5. try with that..
Re: Change [message #83027 is a reply to message #83020] Mon, 28 July 2003 00:54 Go to previous messageGo to next message
Maaher
Messages: 7065
Registered: December 2001
Senior Member
Do it in batch:
1. convert the FMBs in batch to FMTs
2. Find and replace in the FMTs using a text editor (there are more advanced editors that Notepad). I did something similar once and used FTP to put every FMT on a UNIX box and used a shell script. Afterwards I sent it back to the Windows machine via FTP.
3. convert FMTs back to FMB
4. batch compile.

MHE
Re: Change [message #83077 is a reply to message #83020] Mon, 04 August 2003 04:16 Go to previous message
lars
Messages: 11
Registered: July 2002
Junior Member
Why don't you put the company name in a table ?
(Parameter Table)

If you use the same menu throughout the application, read the company name (select ... from parameter_table where parameter_type = 'COMPANY') in the menu (mmb) and put it in a global (:global.company_name)
Then it can be used in all forms.
Previous Topic: Oracle Manufacturing
Next Topic: Prob in attaching OCX Control
Goto Forum:
  


Current Time: Wed Apr 24 11:17:48 CDT 2024