I'm trying to make some changes to a pretty complex, messy system. (ACCPAC 6.5 in VFP 6)
When I run, I get error messages, but when I try to Trace, I get different results. I need help/suggestions/workarounds for dealing with this situation.
Also accpac pro 6.5 was compiled in Visual Foxpro 7.0. not 6.0.
Swell. Well, that'll give you an idea of the tools and support I have . . .
OK --
I need to add some more lookup in validating an Item in Item Master Maintenance.
When I enter a non-existent item, I get a little window with three buttons, saying, "Item XXXX not found", "List", "Add", "Reenter".
The validation routine seems to be inaccessable. I can catch it by setting a breakpoint for "M_VITEM" $ SYS(16), but it's in formsetmanager.mgrevents.cmpfs.m_vitem. I can't find it in the .vcx; and if I copy it and create a "m_vitem2" in my modified subclass of the form, the references are screwed up. (Leading to this HELP! plea.)
The call is:
ThisFormSet.so_FS.m_vItem(a_icitem->item, 1)
"so_FS" seems to be equivalent to "CMPFS", which seems to be created on the fly. I haven't been able to find any documentation reference to it.
Accpac 6.5 is very diffucult to trace. I will try to guide you in the right path.
Open the visual class SYITEM.vcx.(SM system manager folder)
You will find several screens. Select the smpsyitemfs form
In the procedure window look for the m_vitem procedure.
That is as far as i can guide you.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.