Re: Locking subforms
- From: jbruen <jbruen@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 7 Jun 2005 12:23:06 -0700
Malcom
In the parent form, I lock the prior months depending on the current date. I
noticed that I had to either unlock or lock the fields depending on the date
range since I can change years on the form.
What I have in the child/subform is a status field. I want to check if the
status field for "Closed" and lock the data for that project else I want the
current and future month's fields to be unlocked.
If I set the allowedits to true or false, will that unlock the fields I just
locked in the parent form? What will happen If I have a closed project, will
it automatically go to the next one or 1st one if that is the last project?
John
"Malcolm Cook" wrote:
>
>
>
> "jbruen" <jbruen@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:C805E386-5D7B-444E-BBAD-361DFDCB28FC@xxxxxxxxxxxxxxxx
> > I have a form with a subform. Depending on the current date, I locked the
> > prior months fields from the main form.
>
>
> >Depending on a field in the subform,
> > I want to lock all fields for that row. Is there any way to do this?
>
> use the subform's on current event procedure and set the .allowedits to true
> or false depending on your date range test
>
>
>
.
- References:
- Locking subforms
- From: jbruen
- Re: Locking subforms
- From: Malcolm Cook
- Locking subforms
- Prev by Date: Re: Backward Upgrade
- Next by Date: Re: Backward Upgrade
- Previous by thread: Re: Locking subforms
- Next by thread: Re: Locking subforms
- Index(es):
Relevant Pages
|