Thanks Rolf...I was aware of this tool, but what I am after is a button on my form that will retrieve the prevous attributes for just a few fields.
My form has many fields and I am afraid the user will become too complacent with the standard 'repeat attributes' tool and allow unrelated data to pass and be saved from one point to the next. Also, in the woods, from one point to the next, many of the fields on this data collection form do have repeating values...but most do not.
Can anyone suggest how to link a pointlayer form button to its' own dbf and return the last value form one of the fields?
I was attempting to write the code below but my skills at this are pretty crude...I could use some help.
From APL button: "onclick" = Call WriteToRepeatAirPhotoName
VBS:
Sub WriteToRepeatAirPhotoName
Dim myRS, inpath, obj
Set Obj = Application.Map.Layers("pointlayer").Forms("EDITFORM").Pages.Item("pgSite")
Set myRS = Application.CreateAppObject("recordset")
inpath = Preferences.Properties("DataPath") & "/"
myRS.Open inpath & "\pointlayer.DBF",2
myRS.MoveLast
myRS.Fields("Airphoto").Value = obj.Controls.Item("Airphoto").Value
End Sub