PrincessBretti
Registered User.
- Local time
- Today, 09:45
- Joined
- Mar 16, 2000
- Messages
- 14
Ok heres my code:
Dim strSQL As String
strSQL = "select [First name], [last name] from [contact details]
where [client reference number] = "
& Me.Client_Reference_Number
Me.txtName = "Appointment Details for " & strSQL
But of course this just types out the sql statement instead of running it and appending it to the text...
How can I make the sql execute and append on to the text?
I am at work and for some reason none of the Access help files will work... so I can't work this out myself
Anybody???
Cheers
Princess Bretti
Dim strSQL As String
strSQL = "select [First name], [last name] from [contact details]
where [client reference number] = "
& Me.Client_Reference_Number
Me.txtName = "Appointment Details for " & strSQL
But of course this just types out the sql statement instead of running it and appending it to the text...
How can I make the sql execute and append on to the text?
I am at work and for some reason none of the Access help files will work... so I can't work this out myself

Anybody???
Cheers
Princess Bretti