include the alais name as part of the tableupdate()
Ken
>I'm having a problem using tableupdate() on a form. The problem is on one of my pageframes I have a grid that is linked to another database (copies.dbf). The relation is set between the two (Tables: accounts & copies). The only problem I'm having is executing the tableupdate for the other table. I'm assuming my syntax is wrong.
>
>frame 3 is the only page with reference to the copies db, and the active db is accounts. And just issuing a tableupdate() only updates the accounts db.
>
>Here's the code for the OK Button...
> if thisform.frameaccount.activepage = 3
> tableupdate(1,copies) && results in an error
> else
> tableupdate()
> endif
> thisform.refresh
>
>As always, thanks for the help.
Ken B. Matson
GCom2 Solutions