Microsoft
Software
Hardware
Network
Question : Add a field name to text input
I'm trying to embed field values into a static string of text that will go into a comment section with a onChange command.
Here's what I got:
Set rs = CurrentDb.OpenRecordset("C
ommentHist
ory")
With rs
.AddNew
!Issue_ID = Me.ID
!ee = fOSUserName()
!Comment_Date = Now()
!Comment = "[Group Assignment Changed from] = & OldGroup [to] = & me.With_Group"
.Update
End With
It is the !Comment section that I want to update so that it will say "Group Assignment Changed from (what the old group was) to (what the new group is)
The rest of it works, I just don't know how to tell it to find those values and put it into the string.
Any help would be appreciated!
Answer : Add a field name to text input
!Comment = "Group Assignment Changed from " & OldGroup & " to " & me.With_Group
Random Solutions
VBA/Excel - How to replace date value with date variable from text box?
T-SQL UDF to Obtain Table Row Count
The data types nvarchar and uniqueidentifier are incompatible in the add operator.
Inserting XML data int an nText field in SQL 2005
Migration from NT4 PDC to 2003 AD... NT4 SP6 AWOL!
Command button code
VBA Control (Box) Design Questions
Changing the case, Forcing all caps in a vb.net Windows app
How can i hide root level of TreeView in Silverlight?
MS Access 2003 ... Add customized code to form created by Wizard