P
ParrotGirl
Lets Try This Again
I am creating a service database. and I need some help on adding multiple
records automatically. Currently, I can do one at a time, but i would like
to be able to update multiple records with just 1 click
This is what I have now
Private Sub CmdAddPoolCare_Click()
DoCmd.GoToRecord , , acNewRec
If Me.NewRecord Then
Me.ServDate = DMax("ServDate", "SERVICE TABLE") + 7
End If
End Sub
The question I want to ask is
If Complete= True and [JobTable].[PoolCareEnd] is null (job is still on
active pool care) then
DoCmd.GoToRecord , , acNewRec
If Me.NewRecord Then
Me.ServDate = DMax("ServDate", "SERVICE TABLE") + 7
If Complete= False and [JobTable].[PoolCareEnd] is null (job is still on
active pool care) then do nothing or If Complete= True and
[JobTable].[PoolCareEnd] is not null(job is no longer on active pool care)
then do nothing
I want to be able to click complete on a continuous form and update all
records at one time.
any advise
I am creating a service database. and I need some help on adding multiple
records automatically. Currently, I can do one at a time, but i would like
to be able to update multiple records with just 1 click
This is what I have now
Private Sub CmdAddPoolCare_Click()
DoCmd.GoToRecord , , acNewRec
If Me.NewRecord Then
Me.ServDate = DMax("ServDate", "SERVICE TABLE") + 7
End If
End Sub
The question I want to ask is
If Complete= True and [JobTable].[PoolCareEnd] is null (job is still on
active pool care) then
DoCmd.GoToRecord , , acNewRec
If Me.NewRecord Then
Me.ServDate = DMax("ServDate", "SERVICE TABLE") + 7
If Complete= False and [JobTable].[PoolCareEnd] is null (job is still on
active pool care) then do nothing or If Complete= True and
[JobTable].[PoolCareEnd] is not null(job is no longer on active pool care)
then do nothing
I want to be able to click complete on a continuous form and update all
records at one time.
any advise