ISSUE #1
I began using CB6 this week and had a couple of questions/issues.
1- My view parameters weren't properly passed to my views. Instead they were converted to an empty string by ...libscbizct::ctbizobj.requery()
I created an abizobj and overrode this requery() code and suddenly it all worked.
code snippet in question ctbizobj::requery()
...........
*--------------------------------------------------- *-- This was placed here in order to ensure the view *-- parameter for the unique identifier does not *-- interfere with a query from a BizObjMaintForm *-- when a business attribute is the only parameter *-- being used. *--------------------------------------------------- &lcViewParm = "" ....... etc.
When &lcViewParm was set to "" the framework kept returning the entire file which made sense.
When I overrode it in a subclass and commented that line it all worked. I.e., it stopped wiping out the intended value of my view parameter.
Any ideas?? :)
ISSUE #2:
What happened to the bizobj form's edit() method? Everything opens in edit mode. I thought it was me but the FCMPROD sample exhibited the same behavior.
I can't imagine a client being okay with edit as the default mode...
Comments?
Thanks in advance,
Cary Cary Abramoff VFP Consultant, MCP ©2000 Cary Abramoff |