Hello Ed -
First off, thanks for your reply. Your message was very encouraging to our company b/c you have actually implemented active documents and run them successfully......and are pleased with the results. So, that was encouraging to us that we are on the right path.
The microsoft support question Qxxxxxx was very helpful. I followed the example to the letter and was able to get it to work. However, I have been unsuccessful getting my "real" application to work, and I think my problem is the code in my RUN event.
I am very new to Fox and never coded a thing in my life until about 3 months ago!
I have a few more questions, which I hope you don't mind.
First off all, I set up my new class based on the active doc class, which was real easy. I set that class to MAIN. So, I now I am ok with that part.
the example from microsoft just dealt with running 1 form in the IE browser, so the run event was as follows:
SET TALK OFF
SET STATUS BAR OFF
** DO Adtest.mpr
DO FORM Adtest.scx
READ EVENTS
In the container release I placed the command:
CLEAR EVENTS
I added a command button to the form and placed the following code in the click event:
Thisform.Release
CLEAR EVENTS
I went back to the project manager, compiled and ran it. It worked perfect.
But, with my "real" application, which has 9 tables and 9 forms, I did not know how to code my run event properly.
I tried a few things and kept on getting an error message that said,
TOO MANY VARIABLES.
I placed the code
SET TALK OFF
SET STATUS BAR OFF
DO voices && Ed, voices is the name of the new class I created, based on the active document class
READ EVENTS
This didn't work.
One other thing that may be important is that I do not have any type of menu built for my app. so, when I do get this to run, what actually pops up in the browser? One form, 9 forms, my project manager. I am trying to tell it to run my entire app with the code above. I haven't built a switchboard or menu that I can select talbes from.
If you have any instruction for a better code in my run event, I would sure appreciate the input. I feel as though I am close, but missing a little piece of the puzzle to make this work.
Thanks
Jason
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement