go to

C

Chey

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
 
M

Marcin

Chey said:
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
==========================================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

invalid bracketing 1
copy 18
Add some stuff to code 7
Check box-email 0
run time error 2498 0
email in access 2
Email in access 4
Email in Access 5

Top