> I'm trying to create a sql statement to use as a recordset on an Access data
> form. I have 2 tables called "users" & "accounts". The "users" table on
> contains an id field, first name and last name field. Any "user" record may
> have many records in the "accounts" table. They are joined by the "users"
> table userID field in my below sql.
> My problem is that I need the recordset to be able to be edited. Is there a
> way to re-write the below sql so it wouldn't be read-only?
> The form is mainly based on the "accounts" table, but I need some type of
> join to the "users" table to be able to sort by first or last name?
> CODE:
> SELECT u.userID, u.LastName, u.FirstName, a.ID, a.userID, a.UserLogin,
> a.UserPassword
> FROM t_users u INNER JOIN
> t_accounts a ON u.userID = a.userID