Navigating through Forms???? [message #233582] |
Thu, 26 April 2007 13:29 |
nvidia
Messages: 5 Registered: January 2007
|
Junior Member |
|
|
Hi i have a file called Menue which has 1 canvas called MENU_CANVAS. The canvas has a button called TO_BOOKSEARCH. The button refered to using a datablock called MENU_BLOCK. The button uses a when button pressed trigger with the code:
open_form(BOOKSEARCH);
I have a separate file called BOOKSEARCH.fmb which i have opened. When i run the code i get the error "identifire 'BOOKSEARCH' must be declared". How can i make it recognise this second file so that i can navigate to it???
I was told that you could give it the path name as a parameter, is that right? If so, can somebody give me an example.
Thanks
|
|
|
|
Re: Navigating through Forms???? [message #233752 is a reply to message #233584] |
Fri, 27 April 2007 06:01 |
nvidia
Messages: 5 Registered: January 2007
|
Junior Member |
|
|
Hi i have put them in single quotes
open_form('booksearch');
but when i click on the button i get the error "cannot read form 'BOOKSEARCH'" can somebody tell me why bear in mind that they are different files.
Thanks.
|
|
|
|
|
Re: Navigating through Forms???? [message #233817 is a reply to message #233772] |
Fri, 27 April 2007 12:00 |
nvidia
Messages: 5 Registered: January 2007
|
Junior Member |
|
|
Hi i just checked, i realised the names were different. I am curious to know what do u mean by the term FORMS90_PATH?
as i have never come across that terminology.
Also, if they are in a different directory say, C:\Documents and Settings\someform.fmb how would you put that in this code:
open_form('??');
Thanks and guys.
[Updated on: Fri, 27 April 2007 12:03] Report message to a moderator
|
|
|
|
|