Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multiple cursors in a business object
Message
De
31/01/2000 12:25:50
Brian Randall
Service Net Solutions, Llc
Jeffersonville, Indiana, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00324833
Message ID:
00325104
Vues:
29
Hello again,

I am so sorry for for the confusion. OK, I'll try to outline this to the best of my ability

I have a bizobj called ProductObj. I have created three custom methods -- GetProduct, GetProductList, and GetCustomerProductList.

GetProduct goes out and gets information about a single product in the Product table. Here is it's code:

LPARAMETERS tiProductID

This.iProductID=tiProductID

This.Requery()

In my postinithook I have this:

This.AddViewParameter('vp_iProductID','This.iProductID')
This.AddViewParameter('vp_aProductID','This.aProductID')

GetProductList goes out and return a view containing all of the prodcuts we sell. In GetProductList I have this:

This.requery() I did this hopes of the view refreshing itself but it did not.

GetCustomerProdcutList goes out and returns a view containing the the products the customer has based on an array we pass it. I know the method is not complete, I was just trying to get it to work with a single value. In GetCustomerProductList I have this:

LPARAMETERS taProductID

This.aProductID=taProductID

This.requery()

As you can see I tried putting some code in the postinithook to refresh this, but it did not work.

Thanks so much for your help,

Brian
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform