I have the tables linked - thats not my problem - i want to get the # from
the 2nd table, put in the first table, then add 1 to the number in the source
table so I have a unique number for the next record added in the source table
- with the same location ID. Note - autonummber will not work - since
numbers have to be by location ID.
> If you base a form on your first table and place a sub-form in that form
> based on the second table (linked by Location_ID) entered info in the
[quoted text clipped - 26 lines]
> >
> > Robbie
Robbie Gilbert - 16 Feb 2006 16:18 GMT
This is what I am Trying to do -
Private Sub Indictment___BeforeUpdate(Cancel As Integer)
If IsNull(Me![Indictment #]) = True Then
Me![Indictment #] = Counties![indictment # 2]
Counties![indictment # 2] = Counties![indictment # 2] + 1
End If
End Sub
> I have the tables linked - thats not my problem - i want to get the # from
> the 2nd table, put in the first table, then add 1 to the number in the source
[quoted text clipped - 32 lines]
> > >
> > > Robbie