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
 
Neil23

I have found that modifying AccPac is not for the faint-of-hart. Since you seems to have purchased the source code with it, may I suggest that your reseller might have someone on staff to help (that was my saving grace). Without knowing exactly which part of the application you modified and what are the implications of those changes, it is hard to determine what is causing the problem.

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
I wholeheartedly agree that "modifying AccPac is not for the faint-of-h[e]art", but I don't have any choice -- or much in the way of tools.

When I go into our production system; Application 'IC'; and select Maintain / Inventory Items / Item Master, the Item Master Maintenance form comes up (syitem). I enter a non-existent Item, and a little window pops up 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 pair of HELP! pleas.)

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.


So there're some more details!

Neil


 
Neil23

I don't consider this to be a VFP issue, but rather an Accpac issue.
Was the Accpac running properly, before you made the modifications?

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top