Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why Refresh Doesn´t work?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00522586
Message ID:
00522594
Views:
8
>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...

Using a SQL select causes the alias to be opened again in a new workarea. As such, the buffered changes are not used in the query. You will need to TableUpdate() the alias in question before the updates will show up.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform