>At our company, we have several projects in several different directories. We all base our forms off of a common form (class) in a common directory. The base form has instances of MESSAGEBOX() that uses a variable defined in a separate file in each developers project as follows:
>
>#DEFINE ADAM_LOC "Adam Accounts Payable (APCAR)"
>
>This allows us to use the base forms code, but customize the messages in MESSAGEBOX()
>
>The problem: I have copied a form from another developers project and I changed everything to look and act like I want, except for the messages coming from the base form code has the ADAM_LOC variable from the other developers directory. I have searched through my form (including searching each memo field in it) to try to find out why the form seems hell bent on pointing to the old directory and not reading the ADAM_LOC variable from the current project. Can anyone help?
>
>Thanks..Tim
Tim:
I'll bet the form your adapted has an included header file which needs to be removed before your custom message definitions will appear.
In the form designer menu, select Form/Include to see if the form owns an include file. If it does, and it's not your include file, delete it.
Best of luck,
JME
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.comNo trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.