Wrox Programmer Forums
|
BOOK: Access 2003 VBA Programmer's Reference
This is the forum to discuss the Wrox book Access 2003 VBA Programmer's Reference by Patricia Cardoza, Teresa Hennig, Graham Seach, Armen Stein; ISBN: 9780764559037
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Access 2003 VBA Programmer's Reference 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 September 7th, 2006, 05:33 PM
Registered User
 
Join Date: Sep 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to pepocles Send a message via AIM to pepocles Send a message via MSN to pepocles Send a message via Yahoo to pepocles
Default An easy one for you...

Hi!

I've programmed a database system for my small bussiness in access 2000. It ran perfectly but then I've upgraded it to Access 2003. The thing is: I have a subroutine wich eliminates "double spaces", "zero values", and other redundant data from a every text string in a selected record.

My procedure is as follows:

Function Limpiar()
    Dim A As Integer
    ' Eliminar medios con cantidades en cero
    SendKeys ("^l")
    For A = 1 To 20
        SendKeys ("%b")
        SendKeys ("??-/0")
        SendKeys ("%o")
        SendKeys ("{up}")
        SendKeys ("%z")
        SendKeys (" ")
        SendKeys ("%t")
    Next A
End Function


When I run it appears to work fine but it doesn't modify the data in the table.

Any suggestion? If you have an alternative way to modify strings of records will be also very usefull...

Thank you.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Easy One ru1 Access 2 September 15th, 2006 10:36 PM
Probably easy but... AMP - Max Current BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 2 December 20th, 2004 02:55 PM
Easy Question - I think gmoney060 Classic ASP Basics 3 November 2nd, 2004 06:54 PM
NOT Easy Enough!!! wilson Forum and Wrox.com Feedback 3 July 16th, 2004 07:14 PM
This should be easy benibell Javascript 1 June 22nd, 2004 05:50 PM





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