Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Interactive changes in Grids and Tables
Message
From
26/08/1999 14:52:37
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Interactive changes in Grids and Tables
Miscellaneous
Thread ID:
00258094
Message ID:
00258094
Views:
47
I have a form containing a grid whose data source is a DBF table. As soon as the user edits any field in the grid I want to set a field of the DBF called 'changed' to .T. The idea being to send only the changed records to another application at the end of the editing session.

I have tried putting the following code in the the GRID1.COLUMN1.TEXT1.IntercativeChange event :

PHONEBOOK.changed = .T.

However I get a runtime error

Object PHONEBOOK not found. I have omitted the ALIAS name and the error goes away i.e.:

changed = .T.

The database is never updated and I suspect that the above line merely creates a local variable that is destroyed as the procedure exits.

Can anyone help with a bug fix or even a better strategy.

Thanks,

Gerry.
Next
Reply
Map
View

Click here to load this message in the networking platform