Hello again,
I really hate to be thick about this, and hope I am not wasting anyone’s time. I do thank everyone for the help that I’ve gotten so far, but I have some nagging questions that mean either a) I wasn’t clear enough in what I was trying to do, or b) there really is no simple way to do this.
If you would accommodate a bit of further explanation:
My basic question is this: What is the shortest way to write data to a different table? Keeping it as simple as possible, suppose I have a form with a button that brings up an input box. The value is returned with a message box. The Very Simple Code for the on-click event of the button is as follows:
[/quote]
Private Sub Command0_Click()
Dim tst As String
Dim tstinput As String
tstinput = InputBox("Enter a word", "Testing")
tst = tstinput
MsgBox "test word is " & tst
End Sub[/quote]
Rather than display the tst string in a message box, I want to write that value to a table. That is, I want to replace the line MsgBox “test word is “ & tst with something that pastes the record into a table. The table I want to write to does not have any connection with the form. Either there is a simple way of doing this (i.e. I simply replace the last line with something along the lines of [outside table].[outside table field] = tst ) or I need to go and learn all about recordsets and their manipulation.
So please, I ask this in all sincerity because intuitively I would think that referring to a table in the database is a simple thing. Am I wrong? Is there no simple anti-DlookUp function out there? Thanks,
Rhythmdvl