petermeachem
Programmer
I am writing a programme with a colleague (we both work for ourselves). Both using vb6 ADO Access 2k database.
I generally put double quotes around strings to avoid single quotes in names, so I have
UPDATE ... Fielda = " & chr$(34) & fieldvalue & chr$(34)
This gave an error on my chums computer, so now we both do
UPDATE ... Fielda = '" '& fieldvalue & "'"
which works fine on both.
Can anyone come up with an explanation of why two apparently similar systems should give this difference. I'm nt4, he's win98. I'm access 97 (still with 2k database), he's 2k.
If it's something like different version of mdac, then upgrading that could break a lot of programmes surely.
Peter Meachem
peter@accuflight.com
I generally put double quotes around strings to avoid single quotes in names, so I have
UPDATE ... Fielda = " & chr$(34) & fieldvalue & chr$(34)
This gave an error on my chums computer, so now we both do
UPDATE ... Fielda = '" '& fieldvalue & "'"
which works fine on both.
Can anyone come up with an explanation of why two apparently similar systems should give this difference. I'm nt4, he's win98. I'm access 97 (still with 2k database), he's 2k.
If it's something like different version of mdac, then upgrading that could break a lot of programmes surely.
Peter Meachem
peter@accuflight.com