programming.nbk: Home | Index | Next Page: Tcl Mk4Tcl: Subviews | Previous Page: Tcl Mk4Tcl: Setting Properties


 Tcl Mk4Tcl: Storing and Retrieving Data

Storing and Retrieving Data

Now that we've defined what we're going to store in a view, it's time to see how to actually store something there. In this section, we'll assume we're dealing with employee records, using a view set up as follows:

    mk::file open db mydata.db
    mk::view layout db.employees "name employeeid salary"

Next: Tcl Mk4Tcl: Adding Rows


programming.nbk: Home | Index | Next Page: Tcl Mk4Tcl: Subviews | Previous Page: Tcl Mk4Tcl: Setting Properties


Notebook exported on Monday, 7 July 2008, 18:56:06 PM Eastern Daylight Time