Z
Zaphod
I have been using Access for a while (as well as other relational databases)
and although not very proficient, I would like to be able to create web
pages to enter data in my Access tables (xp ver).
In my test database a simple expenses database I have a form producing a
pick list linking to another table. How can I do this in a web page? I
have not found much help within Access for doing this. Can any one point me
in the right direction?
Thanks
R
eg.
Client Name Pick
_________________
Private Sub Combo24_DblClick(Cancel As Integer)
On Error GoTo Err_Combo24_DblClick
Dim lngClientNameID As Long
If IsNull(Me![ClientNameID]) Then
Me![ClientNameID].Text = ""
Else
lngClientNameID = Me![ClientNameID]
Me![ClientNameID] = Null
End If
DoCmd.OpenForm "frmClients", , , , , acDialog, "GotoNew"
Me![ClientNameID].Requery
If lngClientNameID <> 0 Then Me![ClientNameID] = lngClientNameID
Exit_Combo24_DblClick:
Exit Sub
------------------------------------------------------------------------
Err_Combo24_DblClick:
MsgBox Err.Description
Resume Exit_Combo24_DblClick
End Sub
Private Sub Combo24_NotInList(NewData As String, Response As Integer)
MsgBox "Double-click this field to add an entry to the list."
Response = acDataErrContinue
End Sub
and although not very proficient, I would like to be able to create web
pages to enter data in my Access tables (xp ver).
In my test database a simple expenses database I have a form producing a
pick list linking to another table. How can I do this in a web page? I
have not found much help within Access for doing this. Can any one point me
in the right direction?
Thanks
R
eg.
Client Name Pick
_________________
Private Sub Combo24_DblClick(Cancel As Integer)
On Error GoTo Err_Combo24_DblClick
Dim lngClientNameID As Long
If IsNull(Me![ClientNameID]) Then
Me![ClientNameID].Text = ""
Else
lngClientNameID = Me![ClientNameID]
Me![ClientNameID] = Null
End If
DoCmd.OpenForm "frmClients", , , , , acDialog, "GotoNew"
Me![ClientNameID].Requery
If lngClientNameID <> 0 Then Me![ClientNameID] = lngClientNameID
Exit_Combo24_DblClick:
Exit Sub
------------------------------------------------------------------------
Err_Combo24_DblClick:
MsgBox Err.Description
Resume Exit_Combo24_DblClick
End Sub
Private Sub Combo24_NotInList(NewData As String, Response As Integer)
MsgBox "Double-click this field to add an entry to the list."
Response = acDataErrContinue
End Sub