Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DAP and ADP questions

Status
Not open for further replies.

rjoshi2

Programmer
Sep 10, 2002
110
US
How are Data Access Pages (DAP) and Access Data Pages (ADP) different? Is there a befit for using one or the other? Which one should I use if I am trying to simulate an access form that that will only show information base on a username (login). I am also using workgroup security on my database. How will this affect the DAP or ADP (login)? Any help would be appreciated.

Thank You,
rjoshi2

VBA code that I would like to sumulate in the ADP or DAP:

Option Compare Database
Option Explicit

Private Sub Form_Load()
Dim getdata As String

MsgBox ("Hello: " & CurrentUser & "!")

getdata = "Select * from FY03COMREG where " & _
"FY03COMREG.[User ID] = '" & CurrentUser & "'"
Me.RecordSource = getdata
Me.Requery

End Sub

Private Sub OCB_AfterUpdate()
User_ID = CurrentUser
MsgBox ("User ID: " & Me.User_ID)
End Sub
 
ADP's are for building SQL server front ends
Data Access Pages are for publishing Access objects on the Internet.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top