Click here to Skip to main content
15,915,328 members
Home / Discussions / Database
   

Database

 
GeneralRe: DELETE FROM ... not affecting the table? Pin
David Wulff31-Jan-02 4:16
David Wulff31-Jan-02 4:16 
AnswerRe: DELETE FROM ... not affecting the table? Pin
Andrew Peace30-Jan-02 11:35
Andrew Peace30-Jan-02 11:35 
GeneralRe: DELETE FROM ... not affecting the table? Pin
David Wulff31-Jan-02 4:15
David Wulff31-Jan-02 4:15 
GeneralRe: DELETE FROM ... not affecting the table? Pin
Andrew Peace3-Feb-02 13:39
Andrew Peace3-Feb-02 13:39 
GeneralRe: DELETE FROM ... not affecting the table? Pin
David Wulff3-Feb-02 14:16
David Wulff3-Feb-02 14:16 
GeneralRe: DELETE FROM ... not affecting the table? Pin
David Wulff10-Feb-02 8:00
David Wulff10-Feb-02 8:00 
GeneralRe: DELETE FROM ... not affecting the table? Pin
Andrew Peace10-Feb-02 8:45
Andrew Peace10-Feb-02 8:45 
GeneralRe: DELETE FROM ... not affecting the table? Pin
David Wulff10-Feb-02 8:56
David Wulff10-Feb-02 8:56 
Andrew Peace wrote:
1. Is the connection string to the database correct and allowing read/write access? An example of a connection string from one of my programs is;

I use that exact same line.

Andrew Peace wrote:
2. Is the command being built as you expect? E.g. make sure that the string actually does equal what you expect when the command is being executed.

I have got into the habit now of always printing any SQL statement I construct dynamically, onto the page so I can check it. I learnt to do that the hard way.

Yes, the SQL statement is correct. If I execute it from within Access itself it will delete the records!

Andrew Peace wrote:
3. The database isn't a read-only file (?!) Seems daft but you wouldn't believe the number of times I forget to reset attributes when copying from backup cd's.

I hadn't checked this before, but I have now and it is not read only. The one I uploaded to the web server was - thanks for pointing that out. At least that's one headache prevented before it happens!

----

Like I said to simons above, I had this problem before and eventually managed to solve it - but i'll be damned if I can remember what it was I did.

What's even more frustrating is that I know this is going to be some stupidly simple problem when we know what is causing it!

________________
David Wulff
http://www.davidwulff.co.uk

"I loathe people who keep dogs. They are cowards who haven't got the guts to bite people themselves" - August Strindberg
GeneralRe: DELETE FROM ... not affecting the table? Pin
Andrew Peace10-Feb-02 9:11
Andrew Peace10-Feb-02 9:11 
GeneralRe: DELETE FROM ... not affecting the table? Pin
David Wulff10-Feb-02 10:49
David Wulff10-Feb-02 10:49 
AnswerRe: DELETE FROM ... not affecting the table? Pin
Matt Gullett10-Feb-02 9:04
Matt Gullett10-Feb-02 9:04 
GeneralRe: DELETE FROM ... not affecting the table? Pin
David Wulff10-Feb-02 10:00
David Wulff10-Feb-02 10:00 
GeneralSQL Authentication Pin
Mike Osbahr28-Jan-02 4:32
Mike Osbahr28-Jan-02 4:32 
Generalset Request Value option on the field ! Pin
Hadi Rezaee27-Jan-02 10:15
Hadi Rezaee27-Jan-02 10:15 
GeneralOLE-DB connection Pin
User 988527-Jan-02 7:01
User 988527-Jan-02 7:01 
QuestionCan you show me about SQL Server 7.0 Pin
25-Jan-02 7:39
suss25-Jan-02 7:39 
AnswerRe: Can you show me about SQL Server 7.0 Pin
Carlos Antollini25-Jan-02 7:51
Carlos Antollini25-Jan-02 7:51 
GeneralSpecifying a connection should use TCP/IP Pin
James T. Johnson24-Jan-02 12:23
James T. Johnson24-Jan-02 12:23 
GeneralRe: Specifying a connection should use TCP/IP Pin
AndyG26-Jan-02 8:22
AndyG26-Jan-02 8:22 
GeneralRe: Specifying a connection should use TCP/IP Pin
James T. Johnson26-Jan-02 19:44
James T. Johnson26-Jan-02 19:44 
GeneralCHAR, adVarWChar, CString Pin
David Pokluda22-Jan-02 21:12
David Pokluda22-Jan-02 21:12 
GeneralADO Data Control Pin
22-Jan-02 20:37
suss22-Jan-02 20:37 
Questionwhich data type responding to DBTYPE_DBTIMESTAMP? Pin
Aaron K.B. Huang18-Jan-02 2:17
Aaron K.B. Huang18-Jan-02 2:17 
AnswerRe: which data type responding to DBTYPE_DBTIMESTAMP? Pin
Konstantin Vasserman18-Jan-02 2:30
Konstantin Vasserman18-Jan-02 2:30 
GeneralRe: which data type responding to DBTYPE_DBTIMESTAMP? Pin
Aaron K.B. Huang18-Jan-02 21:56
Aaron K.B. Huang18-Jan-02 21:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.