Home » Developer & Programmer » Forms » show block name at runtime
show block name at runtime [message #290999] Wed, 02 January 2008 10:50 Go to next message
msaleem
Messages: 37
Registered: November 2006
Location: Pakistan
Member

I'm using Forms 6i, I want to see block names at runtime, I press F5 but nothing display, is there any other way to see it?

Thanks in advance
MAS

[Updated on: Wed, 02 January 2008 11:01]

Report message to a moderator

Re: show block name at runtime [message #291014 is a reply to message #290999] Wed, 02 January 2008 12:47 Go to previous messageGo to next message
Littlefoot
Messages: 20896
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
What should F5 do on your system?

I don't have Forms 6i so this might not answer the question, but - navigate to the Help menu and choose "Help" (this might be F1 key, but not necessarily). It will display information about the current item, and *could* display the current block as well.
Re: show block name at runtime [message #291593 is a reply to message #291014] Sat, 05 January 2008 04:07 Go to previous messageGo to next message
msaleem
Messages: 37
Registered: November 2006
Location: Pakistan
Member

When press F5 it does nothing.
Re: show block name at runtime [message #291600 is a reply to message #291593] Sat, 05 January 2008 06:43 Go to previous messageGo to next message
Littlefoot
Messages: 20896
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
You've already said that, but you didn't say what you think it should do.

However, if my previous post didn't help, you might develop your own "show me current block" procedure. For example, you might create a form-level KEY-HELP trigger which would look like this:
message(:system.current_block);
Re: show block name at runtime [message #293582 is a reply to message #291600] Mon, 14 January 2008 03:24 Go to previous messageGo to next message
msaleem
Messages: 37
Registered: November 2006
Location: Pakistan
Member

dear

I cant write any code anywhere in the same form, because its a .fmx (binary) file. I can just press the keys allowed at runtime.

Actualy when i press F5 it should display list of block names used in the form, but nothing displaying.

Thanks
Re: show block name at runtime [message #293588 is a reply to message #293582] Mon, 14 January 2008 03:34 Go to previous messageGo to next message
Littlefoot
Messages: 20896
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Quote:

when i press F5 it should display list of block names used in the form

How do you know that?
Re: show block name at runtime [message #293597 is a reply to message #293588] Mon, 14 January 2008 03:50 Go to previous messageGo to next message
msaleem
Messages: 37
Registered: November 2006
Location: Pakistan
Member

Coz, I did it many times and see block names list always.


Saleem
Re: show block name at runtime [message #293601 is a reply to message #293597] Mon, 14 January 2008 04:00 Go to previous messageGo to next message
Littlefoot
Messages: 20896
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Did you use F5 "many times" on the same system as this one (which does nothing when you press F5)? If not, perhaps there was a different F5 key mapping? Do you have access to the FMRWEB.RES file? In there you might find what (if anything) F5 does on this system.
Re: show block name at runtime [message #293602 is a reply to message #293601] Mon, 14 January 2008 04:12 Go to previous messageGo to next message
msaleem
Messages: 37
Registered: November 2006
Location: Pakistan
Member

Yes I pressed F5 manytimes but same result. I think programmer has mapped this key for NULL.

I need alternate way to see block names list.
Re: show block name at runtime [message #293604 is a reply to message #293602] Mon, 14 January 2008 04:22 Go to previous messageGo to next message
Littlefoot
Messages: 20896
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
I'm sorry, but I'm afraid I can not help you any further.
Re: show block name at runtime [message #293608 is a reply to message #293604] Mon, 14 January 2008 04:29 Go to previous messageGo to next message
msaleem
Messages: 37
Registered: November 2006
Location: Pakistan
Member

Thanks for considering my problem
Re: show block name at runtime [message #293740 is a reply to message #293608] Mon, 14 January 2008 17:17 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
I suggest you talk with the programmer, discuss why you need to see the list of blocks and get that person to modify their form for you.

David
Re: show block name at runtime [message #293798 is a reply to message #293740] Tue, 15 January 2008 02:15 Go to previous messageGo to next message
msaleem
Messages: 37
Registered: November 2006
Location: Pakistan
Member

Hi David

You are right, ut unfortunately programmer has left and also not in contact. Now I'm looking after this job, we need some changes in the form, and also dont know which tables he used in the form. If I could not get answer I have to redesign it.

Re: show block name at runtime [message #293803 is a reply to message #293798] Tue, 15 January 2008 02:23 Go to previous messageGo to next message
mintomohan
Messages: 104
Registered: November 2006
Location: India
Senior Member
if there was something like fmx to fmb decompiler, it would have made your job easier.
but, i don't know whether any such thing exists.

Minto

[Updated on: Tue, 15 January 2008 02:24]

Report message to a moderator

Re: show block name at runtime [message #293968 is a reply to message #293798] Tue, 15 January 2008 16:24 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Please confirm whether or not you have the 'fmb' file for this Form.

David
Re: show block name at runtime [message #294042 is a reply to message #293968] Wed, 16 January 2008 04:16 Go to previous messageGo to next message
msaleem
Messages: 37
Registered: November 2006
Location: Pakistan
Member

Hi David

Obviously, I dont have fmb file, If I have fmb file then I think I should not ask this question.

Saleem
Re: show block name at runtime [message #294207 is a reply to message #294042] Wed, 16 January 2008 17:08 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Not obvious.

Your first question was "I'm using Forms 6i, I want to see block names at runtime, I press F5 but nothing display, is there any other way to see it?"

What you seem to want to do is reverse engineer a form. This is something completely different.

Your problem would appear to be related to inappropriate source control.

Open the 'fmx' file with a decent flat file editor and you will be able to see the tables used. Alternatively, use something like TOAD and display the cursors used by your form when it is running.

If you get really stuck, then start a test database session, run your form once, and look at the SQL log.

David
Re: show block name at runtime [message #294454 is a reply to message #294207] Thu, 17 January 2008 12:37 Go to previous message
msaleem
Messages: 37
Registered: November 2006
Location: Pakistan
Member

Thanks David
I will let you know after testing

Thanks again
Previous Topic: unapplied changes
Next Topic: Oracle Form Error in Browser
Goto Forum:
  


Current Time: Tue Dec 06 04:29:44 CST 2016

Total time taken to generate the page: 0.15349 seconds