http://www.mbsonline.org/forum/topic.asp?TOPIC_ID=10431 i have been directed here! i am trying to change a sub form in a main form, however, i keep getting the “you have specified an unknown variable message…” when i get this message normally, i see what entries have been in the c/al globals/locals etc, however when in form design these options are greyed out. i have created the new subform, and deleted the current subform and created a new subform control to link to my new subform. when compiling i get the error message saying that “oldsubform” is an unknown variable, and needs to be defined in global c/al SYMBOLS. (ahh just realised it is SYMBOLS, not locals!) so how do i go about defining this in the global symbols? (is this available under 3.01 which is the version we use?) thanks
Hi, I hope i understand your problem correctly [8D] I think that the old subform, you have deleted, has the name “oldsubform” und in your code on the mainform you use something like “currform.oldsubform.form. …”. Give your new subform in the mainform the same name and then compile the main form. This should work. Greetings, Frank