Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bufering
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
01046412
Message ID:
01046422
Views:
17
> I am using buffermodeoverride -4 into a cursor of myform
> If I press the buttom tableupdate (), data is recorded into the table
>
> The problem is that even if I don´t press tableupdate(), the record
> appears into de grid that is on the form on page 2.
>
> The unrecorded data only desappears form the grid if I close the form
> and do "close data" command

You have page2 on the same form? then You look at the same buffer. Even if You'd set
a private Datasession, it would be valid for the whole form.

Either You place the Grid onto another form AND use Private Datasessions, or You do use the table a second time with another alias (
USE <MYTABLE> again in 0 alias SecondInstance
) and use this second instance as Rowsource of the grid.

In this case the "SecondInstance" should "see" the new or modified Records only after the tableupdate() - it should be as if it was used on another computer

HTH
Regards from Berlin

Frank

Dietrich Datentechnik (Berlin)
Softwarekombinat Teltow (Teltow)

Frank.Dietrich@dd-tech.de
DFPUG # 327
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform