>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, where that #DEFINE ADAM_LOC is defined? Do you have any .H file included in that form?
Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison