B
Biggles
I have distributed copies of my project databases. I am trying to import the
data from the ASSN_RTF_NOTES in the distributed copy into the master. If I
try to import the field, like this (some fields removed for space):
ssql(14) = "UPDATE MSP_ASSIGNMENTS " & _
"SET ASSN_UNITS = " & RS_ASSIGN_OLD!ASSN_UNITS & ",
" & _
... "ASSN_HAS_NOTES = " &
RS_ASSIGN_OLD!ASSN_HAS_NOTES & "," & v_ASSN_SSQL_END & _
"WHERE PROJ_ID = " & v_projid & " " & _
"AND TASK_UID = " & v_TASK_ID & " " & _
"AND RES_UID = " & RS_ASSIGN_MAST2!RES_UID
Where:
v_ASSN_SSQL_END = v_ASSN_SSQL_END & ", ASSN_RTF_NOTES = " &
RS_ASSIGN_OLD!ASSN_RTF_NOTES & " "
If I try to see the value of v_ASSN_SSQL_END In the immediate window I get:
?v_assn_ssql_end
EXT_EDIT_REF_DATA = '1,0.946745562130178,5/12/2008 8:00:00 AM,5/23/2008
5:00:00 PM,76500,0,,,0,4800000,4800000,4800000,,,' , ASSN_RTF_NOTES =
??????????????????????????????????????‰????????????????????????????????????????????????????
The value in the Notes field of this assignment is "Michigan market Work"
and if I use this function:
v_RTF = StrConv(RS_ASSIGN_OLD!ASSN_RTF_NOTES, vbUnicode)
I get:
?v_rt
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fprq2\fcharset0 Arial;}}
{\*\generator Riched20 5.50.99.2010;}\viewkind4\uc1\pard\f0\fs16 Michigan
market work\par
}
But I don't know what to do with it.
data from the ASSN_RTF_NOTES in the distributed copy into the master. If I
try to import the field, like this (some fields removed for space):
ssql(14) = "UPDATE MSP_ASSIGNMENTS " & _
"SET ASSN_UNITS = " & RS_ASSIGN_OLD!ASSN_UNITS & ",
" & _
... "ASSN_HAS_NOTES = " &
RS_ASSIGN_OLD!ASSN_HAS_NOTES & "," & v_ASSN_SSQL_END & _
"WHERE PROJ_ID = " & v_projid & " " & _
"AND TASK_UID = " & v_TASK_ID & " " & _
"AND RES_UID = " & RS_ASSIGN_MAST2!RES_UID
Where:
v_ASSN_SSQL_END = v_ASSN_SSQL_END & ", ASSN_RTF_NOTES = " &
RS_ASSIGN_OLD!ASSN_RTF_NOTES & " "
If I try to see the value of v_ASSN_SSQL_END In the immediate window I get:
?v_assn_ssql_end
EXT_EDIT_REF_DATA = '1,0.946745562130178,5/12/2008 8:00:00 AM,5/23/2008
5:00:00 PM,76500,0,,,0,4800000,4800000,4800000,,,' , ASSN_RTF_NOTES =
??????????????????????????????????????‰????????????????????????????????????????????????????
The value in the Notes field of this assignment is "Michigan market Work"
and if I use this function:
v_RTF = StrConv(RS_ASSIGN_OLD!ASSN_RTF_NOTES, vbUnicode)
I get:
?v_rt
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fprq2\fcharset0 Arial;}}
{\*\generator Riched20 5.50.99.2010;}\viewkind4\uc1\pard\f0\fs16 Michigan
market work\par
}
But I don't know what to do with it.