Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

go to

Discussion in 'Information Technology' started by Chey, Jul 28, 2006.

  1. Chey

    Chey
    Expand Collapse
    Guest

    I have this code already and it works great. I would like to add something
    to it.
    Private Sub Command29_Click()
    Dim TANo As Variant

    TANo = Me.[TA Numbers].Form![TA Number]
    Forms![Travel Request 0 Layover]![Travel Request.TA Number] = TANo
    DoCmd.Close
    Forms![Travel Request 0 Layover].Requery
    DoCmd.GoToRecord , , acLast
    Forms![Travel Request 0 Layover].FilterOn = True

    I have a field trip cancelled. If this field is not null then When they
    return to request page I would like it to go to that record. This is so the
    traveler can update there request. As of now when the return to request page
    it creates a new record. I also have it no dups. Thanks
    Chey
     
  2. Marcin

    Marcin
    Expand Collapse
    Guest

    "Chey" <Chey@discussions.microsoft.com> wrote in message
    news:8828CDB7-3DED-4FC3-8338-DE34AC5D9906@microsoft.com...
    > I have this code already and it works great. I would like to add

    something
    > to it.
    > Private Sub Command29_Click()
    > Dim TANo As Variant
    >
    > TANo = Me.[TA Numbers].Form![TA Number]
    > Forms![Travel Request 0 Layover]![Travel Request.TA Number] = TANo
    > DoCmd.Close
    > Forms![Travel Request 0 Layover].Requery
    > DoCmd.GoToRecord , , acLast
    > Forms![Travel Request 0 Layover].FilterOn = True
    >
    > I have a field trip cancelled. If this field is not null then When they
    > return to request page I would like it to go to that record. This is so

    the
    > traveler can update there request. As of now when the return to request

    page
    > it creates a new record. I also have it no dups. Thanks
    > Chey



    =====================================================
    FULL LEGAL SOFTWARE !!!
    Games, video, program, image, chat, questbook, catalog site, arts, news,
    and...
    This site it is full register and legal software !!!
    Please download and you must register software !!!

    PLEASE REGISTER SOFTWARE:
    http://www.webteam.gsi.pl/rejestracja.htm
    DOWNLOAD LEGAL SOFTWARE:
    http://www.webteam.gsi.pl

    Full question and post: http://www.webteam.gsi.pl

    Contact and service and advanced technology:
    http://www.webteam.gsi.pl/kontakt.htm
    FAQ: http://www.webteam.gsi.pl/naj_czesciej_zadawane_pytania.htm

    Please add me URL for you all site and search engines and best friends !!!

    Me site:
    SERWIS WEBNETI: http://www.webneti.gsi.pl
    PORTAL WEBTEAM: http://www.webteam.gsi.pl
    LANGUAGE: http://www.webneti.cjb.net
    ==========================================================
     
  3. Chey

    Chey
    Expand Collapse
    Guest

    was there suppose to be a reply to this?

    "Chey" wrote:

    > I have this code already and it works great. I would like to add something
    > to it.
    > Private Sub Command29_Click()
    > Dim TANo As Variant
    >
    > TANo = Me.[TA Numbers].Form![TA Number]
    > Forms![Travel Request 0 Layover]![Travel Request.TA Number] = TANo
    > DoCmd.Close
    > Forms![Travel Request 0 Layover].Requery
    > DoCmd.GoToRecord , , acLast
    > Forms![Travel Request 0 Layover].FilterOn = True
    >
    > I have a field trip cancelled. If this field is not null then When they
    > return to request page I would like it to go to that record. This is so the
    > traveler can update there request. As of now when the return to request page
    > it creates a new record. I also have it no dups. Thanks
    > Chey
     

Share This Page