Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 12th, 2004, 08:39 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 308
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I doubt this would change anything, but maybe there's some particular quirk with your machine or install or something, so maybe this might work:
Code:
dbs.Execute "DELETE * FROM ActiveMachines WHERE [MachineName] = """ & Trim(strComputerName) & """;"

I am a loud man with a very large hat. This means I am in charge
 
Old August 13th, 2004, 12:41 PM
Authorized User
 
Join Date: Apr 2004
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to lguzman
Default

Thanks for the advice Steven. I tried my code on another machinewith MS-Access 2000 and got the same problem. It's odd, if I display the variable content with a Msgbox I get the right thing "MTLACCOUNTING", however in the debug the content of the variable is "MTLACCOUNTING".

I also tried the code you provided but with not much success.



[LGuzman]





Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I delete a record from a form? dstein4d Access VBA 8 August 24th, 2007 12:09 PM
Delete a record row, not just the record. Coby Access VBA 1 April 30th, 2007 06:29 AM
automatic record delete. joeore Beginning PHP 5 April 29th, 2004 11:27 AM
Can't delete record Trojan_uk SQL Server 2000 3 November 27th, 2003 01:03 PM
Delete record but how? scifo Beginning PHP 3 August 1st, 2003 12:14 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.