Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trace/Debug isn't the same as Run

Status
Not open for further replies.

Neil23

Programmer
Dec 10, 2002
16
US
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.

Thanks,
Neil
 
When you run what?
Also accpac pro 6.5 was compiled in Visual Foxpro 7.0. not 6.0.
Provide more details.
EMC
Integrated Bar Code Systems, Inc.
 
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top