Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Hello Gustavo,
Let me discribe more about my problem.
The formset that I am having problem with is based on 2 views(one is "ship_to_colocation" and another is "product_inventory"). This formset contains form1 & form2.
When I run the formset, I start with form1 first and enter information about the shipping to other colocations(my company has many colocations all over the states) such as: address of colocation, ship_date, vendor, receive date... For example, I want to ship 15 hubs, 10 NIC, 10 t-1 cards to a colocation in Chicago tomorrow. Form1 has a command button(I call it command1). By clicking on command1, form2(as a grid) shows up to display the individual product's information(comes from "product_inventory" view). The "product_inventory" view has a filter for product_name(because I want to show each product one at a time on form2). This is the coding that I have on command1's click method:
" do find_product_onhand
thisformset.Form2.show
dodefault() "
On form2 I can choose which product(with serial number)will be shipped to Chicago. I also have a command button(command2) on form2 to display other products and its coding is:
" do find_product_onhand
thisformset.Form2.refresh "
The procedure I call from command1 has the coding:
" procedure find_product_onhand && the procedure called from command1
public product_name && the filter variable
product_name = ""
do form connect_form to product_name && connect_form is a small
&& form that prompts the user for a value for product_name
if !empty(product_name)
= requery("product_onhand")
endif
endproc "
I have a command3 on form2 to get back to form1:
" thisformset.Form2.hide()
nodefault "
On form1, if I click on command1 to call the procedure "find_product_onhand" again, the command is numb, no response, no error message and go nowhere :(:(:(
***********
This is a long question, I hope you understand what I discribed above. I appreciate your help so very much.
Thank you.
Thanya.
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