>Hi Everyone!!
>
>I´m making an app, but I have trouble: In my form have diferent options like add products, delete, query, buys, etc.
>
>If I make a buy, the stock is automatically updated, e.g. Marlboro, stock 5, buying 10, then we have 15, ok?. When I try to chek by query option, the textbox still displays 5 in stock. I need to return to main menu and load again the form to get the right stock! I´m using refresh trying to fix it, but doesn´t work. Any idea??
>
>Thanks in advance...
You need to requery the data.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer