Problems with the vba command sendkeys in Access 2013.

Hi, I have problems with the vba command sendkeys in Access 2013.
I use a text field (no control) in a form. By means of the VBA command SendKeys "+ {DELETE}", 1  I get the text in memory from the text field, then place (paste) the text in a Word document. The command line sendkeys
is followed by moving the focus to a particular control. In Access 2003, which went smoothly. Now the sendkeys command is executed only in Access 2013 in the control that then receives focus. If the procedure ends with the sendkeys command then it works well.
The procedure with the sendkeys command is activated by a button on a form.
Who can help me?
private user

Hi H.Plmp,
Based on the description, you want to call the sendkeys from a button.
>> use a text field (no control) in a form. By means of the VBA command SendKeys "+ {DELETE}", 1  I get the text in memory from the text field<<
What did you mean that you no control? And how did you get the text in memory from the text field? Also I am not able to understand the exact reason that the command doesn't works in Access 2013.
And based on the test, sendkeys "+ {Delete}" works well for me when I set a focus for the textbox control. Here is th test code:
Me.Controls("txtField1").SetFocus
SendKeys "+ {DELETE}", 1
If I misunderstood, please feel free to let me know.
Regards & Fei
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Problem with the dblink command

    I am working with the dblink command. i have connected to a remote machine which i have configured in my TNS names under the name 'miracle'. so now i have created a dblink to that m/c as:
    create database link data_link connect to scott identified by tiger using 'miracle';
    where scott/tiger is the schema on the remote machine.
    now i am accessing a table 'X' on the remote m/c as:
    select * from X@miracle;
    but i am getting an error saying:
    select * from x@miracle
    ERROR at line 1:
    ORA-02019: connection description for remote database not found
    somebody please help me.

    Also, is the source database (from where you are running the select statement), installed on the machine where you updated the tnsnames entry?
    If you change your local tnsnames it will not work. you need to change the tnsnames entry on the Orcle home where the database server is installed.

  • Problems with the Host command (copying files)

    i am trying to copy a file from one location to another.
    i use the get_file_name function to select the file i want to copy.
    it does not work when in the path, if the directory name has a space in between.(e.g New Folder).The error i get is(the system cannot find the path specified)
    it works fine when a folder name does not have any space(e.g NewFolder).
    y:='o:\documents\filname.doc';
    x := get_file_name(null,null,null,null,open_file,true);
    host('cmd /c start /w copy '|| x ||' '|| y,no_screen);
    any help would be appreciated
    Thanks

    But this is all me, and I do A LOT of scrolling back and forth to cross check facts and so on. Having to constantly switch between files would be a huge pain.
    I guess it's a matter of work styles, but I'd much prefer to switch around among a batch of open chapters with a simple key combination, as opposed to scrolling back and forth through pages in linear fashion.
    How would ID handle a document of this complexity?
    With the limited information you've offered, I'd say I have experience with similar documents, (product catalogs/pricelists), that ID handled just fine, and other cases in which seemingly simple files choked it. I can say the same of Quark. No one can answer your question definitively; there are too many variables. Chances are it's not (only) the size and complexity of your document in itself that are causing your problems. There can be any number of hardware or OS issues contributing, to name a couple.

  • Problem with the wrong host name, when accessing IR or ID

    Hey all,
    I am trying to accessing the IR and ID at my client however the wrong host name is being called. For instance the
    URL should start nero.bcm.tmc.edu, but it is calling just nero. The basis guy here fixed a similar problem in the exchange profile for calling the Builder start page, where do we need to fix the problems for accessiing the IR and ID for the start page?
    Kind regards,
    Chris

    Problem reso;ved, just had to restart XI for the changes to take effect

  • Problems with the "Get" command

    I downloaded my site to Dreamweaver. I used the "Get" command
    and imported it to Dreamweaver. That was fine except that it erased
    all my files on my server. Now my site is just a bunch of
    blank pages.
    I hope I can fix the problem by uploading my files back on to
    my server using the
    Put command.
    Is there any way to prevent this happening again?
    Thanks,

    > That was fine except that it erased
    all my files on my
    > server.
    Cannot possibly do this. The GET function only copies - it
    doesn't delete.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Tynos" <[email protected]> wrote in message
    news:ehfprp$fsl$[email protected]..
    >I downloaded my site to Dreamweaver. I used the "Get"
    command and imported
    >it
    > to Dreamweaver. That was fine except that it erased
    all my files
    > on my
    > server. Now my site is just a bunch of blank pages.
    >
    > I hope I can fix the problem by uploading my files back
    on to my server
    > using
    > the
    Put command.
    >
    > Is there any way to prevent this happening again?
    >
    > Thanks,
    >

  • Problem with the new OVI player - no access to com...

    Yesterday i've done the forced update to the new OVI player - now for the second time. Two weeks ago i deinstalled the new player and returned to the old Nokia Player by reinstalling, but this doesn´t work any more. This time i have the same problem. The new player seems to run fine - much faster, but when i try to download (comes with music) a song the download doesn´t start. The symbol of the button is changing to the the dots but nothing happens. My account is ok, because download of songs with XpressMusic 5800 is possible.
    I tried already a lot of things and now i'm going now a bit mad. Reinstalling the Ovi Player, reinstalling the whole Ovi Suite, reinstalling .NET Framework, checking and updating all OS components - I am using still Windows XP.
    Is there anybody out there who has the same problem or anybody of the software developers that can help?

    Hi everyone,
    I have encountered this issue before and at long last finally got a resolution. After following the steps provided to me, I was finally able to run Ovi Player, see the buttons sign in, comes with music and join now and login to my account. I would like to share to you guys the steps I followed. Please see below:
    UNINSTALL OVI PLAYER
    ·               On your computer, kindly go to the CONTROL PANEL> ADD and REMOVE PROGRAMS and uninstall the following:
    1.             Nokia OVI Player
    2.             Nokia Multimedia Common Components
    3.             PC Connectivity Solution
    4.             Nokia Connectivity Cable Driver
    ·               After uninstalling the programs, kindly follow these steps:
    1.             Delete the following folders if they are present, but first make hidden files and folders visible:
    a.                   Open a windows explorer window (for example, My Computer or My Documents).
    b.                  Go to Tools - Folder options…
    c.                   On View tab, go to Advanced Settings.
    d.                  Ensure that “Show Hidden files and folders” is selected.
    2.             After selecting “Show hidden files and folders”, delete the following folders:
    ·               NOKIA OVI PLAYER- C:\Program Files\Nokia\Nokia Music
    ·               MPLATFORM- C:\Program Files\Common Files\Nokia\MPlatform
    ·               NOKIA DATA STORE- C:\Documents and Settings\<<Windows Username>>\Local Settings\Application Data\Nokia\Nokia Data Store
    ·               NOKIA OVI PLAYER- C:\Documents and Settings\<<Windows Username>>\Local Settings\Application Data\ Nokia\ OVI Player
    ***REINSTALL using this link: http://musicstore.nokia.com/download .aspx
    ***Open the application and on WELCOME TO OVI PLAYER page choose your location.
     I am using Win XP also by the way so there you go guys... Hope it helps...
    Your Nokia Angel in disguise

  • Problem with the "import" command...

    Hi...I'm working with drivers and objects right now. My last class project was to create a Hi-Lo type of card game where a card would be drawn..then the user would have to guess if the next card would be higher or lower... We had to create an object called "PlayingCard." So in the driver..of course we had to use "import PlayingCard;"...Now this is where the problem is: when i try to compile the driver..i get the error "cannot resolve symbol" where the carrot is pointing under the "i" in "import PlayingCard;"... Also, in the driver program we had to create two cards "PlayingCard c1 = new PlayingCard();" and "PlayingCard c2 = new PlayingCard();"... When trying to compile there is also the same "cannot resolve symbol" error..with the carrot pointing under the "P" in the "PlayingCard ......."
    I already checked the obvious..case sensitives and all... The weird thing is that on my friends comp..he is able to successfully compile my driver and object. The same thing goes for when I use the computer at school. It works without changing anything. My friend has the same problem..he can't compile on his machine running XP..but he can on his machine running 2000. We thought it was an OS problem..but my machine is running XP (the one that works for him). So what could be the problem?? I tried reinstalling, tried 1.3 and 1.4, etc etc.
    If anyone has a solution..please help! Thanks in advance!!

    If PlayingCard is not in a package (ie doesn't begin with a package statement), then you don't need to import it.

  • Problem with the say command in Mac OS X Mountain Lion

    When using the say command in mac osx lion if you have the phrase "Cinco de Mayo" in a line everything after it is dropped. Why?

    Did you follow the instructions HERE?

  • Problem with the MINUS command

    I am trying to use the MINUS command to remove rows that are returned from my query, I understand the reason they arent being removed is that the MON column is different, what I need to know is can I just have the MINUS command look at NO column.
    Thanks,
    Aaron
    [email protected]
    The table looks like this
    NO MON
    100 JUN
    101 JUN
    101 JUL
    102 MAY
    103 JUL
    I want this returned (NO 101)
    100 JUN
    102 MAY
    103 JUL
    When I use the following query I get the results I am looking for
    SELECT NO
    FROM TABLE
    MINUS
    SELECT NO
    FROM TABLE
    RETURNS:
    100
    102
    103
    ** BUT **
    Unfortunately I need both columns returned in the query, so when I use this query
    SELECT NO, MON
    FROM TABLE
    MINUS
    SELECT NO, MON
    FROM TABLE
    RETURNS:
    100 JUN
    101 JUN
    101 JUL
    102 MAY
    103 JUL
    And the 101 rows are there.
    null

    Aaron,
    If you just want to eliminate the 101 values from the NO column, use the WHERE clause, thus,
    SELECT NO, MON
    FROM TABLE
    WHERE NO != 101
    MINUS
    SELECT NO, MON
    FROM TABLE
    WEHRE NO != 101
    Regards,
    John
    null

  • I am unable to sign in to iCloud because of a problem with the server, but I cant access other Apple services.

    I have tried repeatedly to sign in to iCloud but receive a message about the server; however, I can sign in to iTunes and other Apple sites.
    Has any one encoutered this problem?

    I found the answer for my PC. The login does not work with IE which I noticed was the browser used as the default. But, I opened iCloud.com in FF and everything went smoothly.

  • How do I access files that have been recovered (after a Mavericks problem) with the .cca file extension

    How do I access files that have been recovered (after a Mavericks problem) with the .cca file extension

    First, to access documents you must use an app designed for that specific Document type. So Pages will not be able to open PDFs. The Documents app by Readdle can handle PDFs though. In the latter case, you'd open the app, click the menu icon at its top left, and click Open to go to your iCloud Drive. With Pages, if you had files outside the main Pages folder, click + then iCloud and navigate to the file's location.
    Matt

  • Problem with FNDLOAD upload command for Concurrent Program

    Hi Apps Gurus,
    I am facing a peculiar problem with the FNDLOAD command.
    My customer has a concurrent program which is running fine in Prod, and now they have requeseted for a change in the program, the change requested was to modify the parameters and the name of the program. I have done the changes and when I try migrating this change from DEV instance to IAT using FNDLOAD commands it is not getting migrated. There does not seem to be any problem with the LDT file, There is no error message in the log as well.
    However I have noticed something very peculiar.* In the target instance (IAT) , when i run the FNDLOAD command directly the migration is unsuccessful but when i delete the existing parameters of the prog and rename the concurrent program and then run the FNDLOAD command the migration is sucessful and the changes are getting reflected!!. I dont understand why this is happening. This is happening in preprod as well , the migration is unsucessfull initially when i directly run the command, when i modify the name and parameters of the prog and then run the command the migration is sucessful. Now i do not have access to prod and this trick of changing prog name and parameters cannot be done in prod , so I need a proper solution for the migration.
    Any pointers to resolve this issue will be helpful.
    Thanks,
    Mahesh

    I am facing a peculiar problem with the FNDLOAD command.
    My customer has a concurrent program which is running fine in Prod, and now they have requeseted for a change in the program, the change requested was to modify the parameters and the name of the program. I have done the changes and when I try migrating this change from DEV instance to IAT using FNDLOAD commands it is not getting migrated. There does not seem to be any problem with the LDT file, There is no error message in the log as well.
    However I have noticed something very peculiar.* In the target instance (IAT) , when i run the FNDLOAD command directly the migration is unsuccessful but when i delete the existing parameters of the prog and rename the concurrent program and then run the FNDLOAD command the migration is sucessful and the changes are getting reflected!!. I dont understand why this is happening. This is happening in preprod as well , the migration is unsucessfull initially when i directly run the command, when i modify the name and parameters of the prog and then run the command the migration is sucessful. Now i do not have access to prod and this trick of changing prog name and parameters cannot be done in prod , so I need a proper solution for the migration.
    Any pointers to resolve this issue will be helpful.What are the commands you used for the download/upload?
    Do you get any errors in the log files?
    Please see (FNDLOAD Download / Upload Concurrent Programs Fails To Load Parameters [ID 1101946.1]).
    Thanks,
    Hussein

  • I have upgraded Apple Aperture from version 2 to version 3 and I'm having a problem with the "Highlights and Shadows" adjustment. According to the user's manual, I should have access to an advanced disclosure triangle which would allow me to adjust mid co

    I have upgraded Apple Aperture from version 2 to version 3 and I'm having a problem with the "Highlights and Shadows" adjustment. According to the user's manual, I should have access to an advanced disclosure triangle which would allow me to adjust mid contrast, colour, radius, high tonal width and low tonal width.
    If anyone has any suggestions as to how to access this advanced section, I'd be most grateful.

    Hi David-
    The advanced adjustments in the Highlights & Shadows tool were combined into the "Mid Contrast" slider in Aperture 3.3 and later. If you have any images in your library that were processed in a version of Aperture before 3.3, there will be an Upgrade button in the Highlights & Shadows tool in the upper right, and the controls you asked about under the Advanced section. Clicking the Upgrade button will re-render the photo using the new version of Highlights & Shadows, and the Advanced section will be replaced with the new Mid Contrast slider. With the new version from 3.3 you probably don't need the Advanced slider, but if you want to use the older version you can download it from this page:
    http://www.apertureexpert.com/tips/2012/6/12/reclaim-the-legacy-highlights-shado ws-adjustment-in-aperture.html

  • Why do I get an "unable to connect - There may be a problem with the mail server or network." message from iCloud.  I have verified the settings.  I can access my iCloud account online but can't send or receive e-mail via the mail account.

    Text limits to the "Question" link prevents a full explanation:
    This is a long-time problem.  I have tried to resolve it with Apple but their "Customer Support" is merely a name.
    I can go online and access my e-mail but when I try to send or receive e-mail via iCloud through my internet server (Google fiber now but the same situation existed with my prior service), I receive "There may be a problem with the mail server or network.  Verify the settings for 'Apple Email' and try again.
    "The server returned the error:  The server 'p0-imap.mail.me.com' refused to allow a connection on port 143."
    Well, I have verified the setting and tried again and again and …
    Well, you get the idea …

    JungleTaxi Cabbie wrote:
    Csound1: iCloud: Configuring Mail with Mac OS X v10.6 or iOS 4
    Enter your Incoming Mail Server, User Name, and Password using the following settings:
    Incoming Mail Server: mail.me.com
    User Name: Your iCloud email address (excluding @me.com)
    Password: Your password
    Last Modified: Jun 27, 2013
    Maybe you should test these things before calling people out, because these settings do function perfectly well.
    iCloud is not supported on Snow Leopard or lower, why bother to mention it?
    The OP has an iCloud account, and that can not be opened without Lion or Mountain Lion (on a Mac), IOS5 or 6 (on an iPhone/iPad)
    The document I linked to is Apples documentation for iCloud on current devices,I don't care whether you believe that you know better than they do, but it will affect the people who follow your advice as it won't work
    JungleTaxi Cabbie wrote:
    Also, if you're not running Lion or Mountain Lion, there is no "Mail, Contacts & Calendars" prefpane.
    I never said that there was, perhaps you imagined it.

  • Just installed Lion and the Magic TrackPad and I am having a problem with one click commands.  I have to hit the pad fairly hard with one finger to get it to accept the command.  Is this normal, is there another way that I am suppose to execute commands?

    Just installed Lion and the Magic TrackPad and I am having a problem with one click commands.  I have to hit the pad fairly hard with one finger to get it to accept the command.  Is this normal, is there another way that I am suppose to execute commands?

    No you just need to turn on Tap to Click. Go into System Preferences - Trackpad and click the Point to Click tab and select the first box which will say Tap to Click and you should be in business.

Maybe you are looking for

  • Assigned ringtones with image doesnt work together...

    hello, could someone help on my new nokia 5800, while using the image (stored n tranferred frm pc by reducing the required size) I cant hear the spl ringtone assigned to the same contact. Though if i use nokia inbuilt images (came with the set) or do

  • Some thoughts on Previews

    To provide a little background on why I am thinking about how previews are used in Lr it might help to understand my workflow. I import my raw files, cull the ones I do not want to keep, keyword and add metadata, and tweak in develop. I then export t

  • Aperture 2.0/iTunes sync issue -- can no longer select projects for sync

    After upgrading to Aperture 2.0, I no longer have the option to select which projects I want to sync my photos from. It is now all photos or none (with Aperture 1.5, you could select one or more projects). Has anyone else experienced this problem? Is

  • Novice EJB2 to EJB3 Conversion Question

    I would like to convert my stateless remote session beans to EJB3 using annotations. Can this be done incrementally? My first attempt, after adding the appropriate annotations, was to comment-out the session element for one of my beans in the ejb-jar

  • HT4111 Is the HM1100 compatible to the New iPad?

    I'm trying to connect my Samsung HM1100 headset to the new iPad, it comes up and connects but without requesting a Pin. And there is no audio connectivity.