Information générale
Catégorie:
The Mere Mortals Framework
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement