Selasa, 31 Januari 2012

[MS_AccessPros] Deleting a record from a button

 

I have a table call tblUnitTenant with the following fields:

UnitID
PeopleID

I have two forms:

frmUnitDetail
UnitID
UnitStatus
cmdRemoveTenant

sfrmTenant

The sfrmTenant contians the tblUnitTenant fields and is linked to the frmUnitDetail via unitid.

If the use changed the UnitStatus to Vacant I need the record in the tblUnitTenant (sfrmTenant) deleted or if they press the cmdRemoveTenant button the same thing needs to happen.

Is this possible?

Thanks,

Art Lorenzini
Sioux Falls, SD

__._,_.___
Recent Activity:
.

__,_._,___

Tidak ada komentar:

Posting Komentar