Yes sure, the data in Ms Access in tblOperation is correct. When I open the table, I have seen the value
PO 07/0251
PO 07/0235
PO 07/0215
PO 07/0248
PO 07/0247
PO 07/0238
but when I do response.write in my ASP code, I got only
0251
0235
0215
0248
0247
0238
The following is the script that I use to retrieve data
set oRs = Server.CreateObject("ADODB
oRs.open "SELECT * FROM tblOperation", oConn
if not oRs.EOF then
do until oRs.EOF
response.write(oRs("Opr_Nu
oRs.movenext
loop
end if
oRs.Close
Set oRs = Nothing
Main Topics
Browse All Topics





by: mgfranzPosted on 2008-03-04 at 22:37:43ID: 21048202
The quotes are what is causing your problem, you need to escape the retrieved string to post the data correctly. First, are you sure the data is in the dB correctly? If so then you need to parse the data as a text string and decode the data with the quotes intact.
Can we see your code that posts the retrieved data? It might be as simple as using HTMLDecode() in your retrieved recordset.