Home » Developer & Programmer » Forms » global
global [message #140923] Thu, 06 October 2005 04:35 Go to next message
selvakumar_82
Messages: 138
Registered: October 2005
Location: chennai
Senior Member



i have problem in global declartion,,

what is difference between call_form(:GLOBAL.FORM||'pass'); and call_form('pass');

like

:global.userid:='';

replace_menu(:global.menus || 'stores');

anything i have declare before
Re: global [message #141078 is a reply to message #140923] Thu, 06 October 2005 19:27 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
If there is anything in the variable :global.form I would assume that the name used in the call_form would be different.

What is the problem that you are trying to solve?

David
Re: global [message #141094 is a reply to message #141078] Thu, 06 October 2005 22:49 Go to previous messageGo to next message
selvakumar_82
Messages: 138
Registered: October 2005
Location: chennai
Senior Member
In that project , they mentioned that,

replace_menu(:global.menus || 'proc');

call_form(:GLOBAL.FORM||'pass');

what is the purpose of this declaration,

but i am using only call_form('formname');

replace_menu('menuname');

if i will integrate my coding with this , i will get problem .

I want to know , they declared it previewsly, how to use the same structure for my codings also
Re: global [message #141101 is a reply to message #141094] Thu, 06 October 2005 23:43 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
I can only assume that they had multiple 'matching' systems. Eg 'USA', 'INDIA', and 'EUROPE'. The front screen would ask which region ('USA', 'INDIA', 'EUROPE') and then load it into the global.menus and global.form, then the menu item would be 'USAPROC' or 'INDIAPROC' oe 'EUROPEPROC' and the form would be 'USAPASS' or 'INDIAPASS' or 'EUROPEPASS'. This way you change one 'value' and the user gets the customised menu and form associated with that region.

Is this a good enough explanation?

David
Previous Topic: function
Next Topic: animated timer in d2k forms
Goto Forum:
  


Current Time: Fri Sep 20 14:14:27 CDT 2024