How to handle a button refresh

R

RJ

does anyone have a great example on how to do this......

I have a master/Detail group. Now in the Master, you click on each row, it
shows you the items in the details. Here is the scenario, i've got a sql
using webservice to query the inventory based on each row, works great on the
first row. But when i choose the second row in the master, I can not click
on my show inventory button to refresh the hidden values to help me retrieve
the sql items. What can I do. Please help, i am slowly learning coding but
not there yet, i am lost. Thanks.
 
S

Swathi (GGK Tech)

Hi,
I think you are passing the first row value every time to refresh the hidden
values. Can you give more details on what the code you are using on show
inventory button and what the error you are getting?
 
R

RJ

Thank you for responding. There is no code really, all i am doing is....

Set a field values: CatID = Category - this is setting a value in a box
Set a field values: PropertyID = PropertyID - " "
Query using a DC: SqlDBSearchCatIDandProperty

Now when it querys. it does the first row, just fine, it displays all rows
and i select which row i want and it sets a correct value in the other
fields.

Now the first row in the master is completed and I need to go to the second
item i the master list, I click on the show inventory button, it doesn't
refresh or reset any values so i can again retrieve the items for inventory.
What do i need to do? I am not a programmer but will attempt at anything to
get it to work.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top