OK, I give up!! I'm either stupid beyond all hope, or I can't see the forest for the trees.
This ought to be simple: CustomerMaintenanceForm calls search form (based on ibizobjretvalform) using DoForm(). DoForm returns PK value of desired customer. Put returned value somewhere. Call obizobject.requery (using parameterized view) and viola! Desired customer info displayed. Only problem is, I don't know where to put the returned value, so the only data I get is the first record. I presume the answer is staring me in the face, but for two days now, I can't see it :(. What the heck do I do with the value DoForm() returns before I call requery?
PS. Thanks to graeme thomson for exposing the evil that foxpro does to its 'include' files (message #6643). Had that happen to me last night and thought I was going crazy! ©2001 Virgil Bevans |