Rabu, 26 November 2014

RE: [MS_AccessPros] Need help on opening FORM

 

Will do, thanks
Kambiz

--------------------------------------------
On Tue, 11/25/14, wrmosca@comcast.net [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:

Subject: RE: [MS_AccessPros] Need help on opening FORM
To: MS_Access_Professionals@yahoogroups.com
Date: Tuesday, November 25, 2014, 2:26 PM


 









Kambiz
It's
best to start a new thread when you have another question
unless it is directkly related to the original
thread.
In answer to
your question about opening another form...

Private Sub
Form_Close()    DoCmd.OpenForm
"YourFormName"   
Forms!YourFormName.Controls("YourControlName").SetFocus 
  End Sub
Regards,Bill Mosca,
Founder -
MS_Access_Professionalshttp://www.thatlldoit.comMicrosoft
Office Access
MVPhttp://mvp.microsoft.com/en-us/mvp/Bill%20Mosca-35852My
nothing-to-do-with-Access
bloghttp://wrmosca.wordpress.com


Many thanks works great.
Would you please help me with VBA procedure? I need a code
for OnClose event of form "A", open form
"B" and set focus on CERTAIN field in form
"B"
Kambiz




 
Kambiz











#yiv2746049144 #yiv2746049144 --
#yiv2746049144ygrp-mkp {
border:1px solid #d8d8d8;font-family:Arial;margin:10px
0;padding:0 10px;}

#yiv2746049144 #yiv2746049144ygrp-mkp hr {
border:1px solid #d8d8d8;}

#yiv2746049144 #yiv2746049144ygrp-mkp #yiv2746049144hd {
color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px
0;}

#yiv2746049144 #yiv2746049144ygrp-mkp #yiv2746049144ads {
margin-bottom:10px;}

#yiv2746049144 #yiv2746049144ygrp-mkp .yiv2746049144ad {
padding:0 0;}

#yiv2746049144 #yiv2746049144ygrp-mkp .yiv2746049144ad p {
margin:0;}

#yiv2746049144 #yiv2746049144ygrp-mkp .yiv2746049144ad a {
color:#0000ff;text-decoration:none;}
#yiv2746049144 #yiv2746049144ygrp-sponsor
#yiv2746049144ygrp-lc {
font-family:Arial;}

#yiv2746049144 #yiv2746049144ygrp-sponsor
#yiv2746049144ygrp-lc #yiv2746049144hd {
margin:10px
0px;font-weight:700;font-size:78%;line-height:122%;}

#yiv2746049144 #yiv2746049144ygrp-sponsor
#yiv2746049144ygrp-lc .yiv2746049144ad {
margin-bottom:10px;padding:0 0;}

#yiv2746049144 #yiv2746049144actions {
font-family:Verdana;font-size:11px;padding:10px 0;}

#yiv2746049144 #yiv2746049144activity {
background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}

#yiv2746049144 #yiv2746049144activity span {
font-weight:700;}

#yiv2746049144 #yiv2746049144activity span:first-child {
text-transform:uppercase;}

#yiv2746049144 #yiv2746049144activity span a {
color:#5085b6;text-decoration:none;}

#yiv2746049144 #yiv2746049144activity span span {
color:#ff7900;}

#yiv2746049144 #yiv2746049144activity span
.yiv2746049144underline {
text-decoration:underline;}

#yiv2746049144 .yiv2746049144attach {
clear:both;display:table;font-family:Arial;font-size:12px;padding:10px
0;width:400px;}

#yiv2746049144 .yiv2746049144attach div a {
text-decoration:none;}

#yiv2746049144 .yiv2746049144attach img {
border:none;padding-right:5px;}

#yiv2746049144 .yiv2746049144attach label {
display:block;margin-bottom:5px;}

#yiv2746049144 .yiv2746049144attach label a {
text-decoration:none;}

#yiv2746049144 blockquote {
margin:0 0 0 4px;}

#yiv2746049144 .yiv2746049144bold {
font-family:Arial;font-size:13px;font-weight:700;}

#yiv2746049144 .yiv2746049144bold a {
text-decoration:none;}

#yiv2746049144 dd.yiv2746049144last p a {
font-family:Verdana;font-weight:700;}

#yiv2746049144 dd.yiv2746049144last p span {
margin-right:10px;font-family:Verdana;font-weight:700;}

#yiv2746049144 dd.yiv2746049144last p
span.yiv2746049144yshortcuts {
margin-right:0;}

#yiv2746049144 div.yiv2746049144attach-table div div a {
text-decoration:none;}

#yiv2746049144 div.yiv2746049144attach-table {
width:400px;}

#yiv2746049144 div.yiv2746049144file-title a, #yiv2746049144
div.yiv2746049144file-title a:active, #yiv2746049144
div.yiv2746049144file-title a:hover, #yiv2746049144
div.yiv2746049144file-title a:visited {
text-decoration:none;}

#yiv2746049144 div.yiv2746049144photo-title a,
#yiv2746049144 div.yiv2746049144photo-title a:active,
#yiv2746049144 div.yiv2746049144photo-title a:hover,
#yiv2746049144 div.yiv2746049144photo-title a:visited {
text-decoration:none;}

#yiv2746049144 div#yiv2746049144ygrp-mlmsg
#yiv2746049144ygrp-msg p a span.yiv2746049144yshortcuts {
font-family:Verdana;font-size:10px;font-weight:normal;}

#yiv2746049144 .yiv2746049144green {
color:#628c2a;}

#yiv2746049144 .yiv2746049144MsoNormal {
margin:0 0 0 0;}

#yiv2746049144 o {
font-size:0;}

#yiv2746049144 #yiv2746049144photos div {
float:left;width:72px;}

#yiv2746049144 #yiv2746049144photos div div {
border:1px solid
#666666;height:62px;overflow:hidden;width:62px;}

#yiv2746049144 #yiv2746049144photos div label {
color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}

#yiv2746049144 #yiv2746049144reco-category {
font-size:77%;}

#yiv2746049144 #yiv2746049144reco-desc {
font-size:77%;}

#yiv2746049144 .yiv2746049144replbq {
margin:4px;}

#yiv2746049144 #yiv2746049144ygrp-actbar div a:first-child {
margin-right:2px;padding-right:5px;}

#yiv2746049144 #yiv2746049144ygrp-mlmsg {
font-size:13px;font-family:Arial, helvetica, clean,
sans-serif;}

#yiv2746049144 #yiv2746049144ygrp-mlmsg table {
font-size:inherit;font:100%;}

#yiv2746049144 #yiv2746049144ygrp-mlmsg select,
#yiv2746049144 input, #yiv2746049144 textarea {
font:99% Arial, Helvetica, clean, sans-serif;}

#yiv2746049144 #yiv2746049144ygrp-mlmsg pre, #yiv2746049144
code {
font:115% monospace;}

#yiv2746049144 #yiv2746049144ygrp-mlmsg * {
line-height:1.22em;}

#yiv2746049144 #yiv2746049144ygrp-mlmsg #yiv2746049144logo {
padding-bottom:10px;}


#yiv2746049144 #yiv2746049144ygrp-msg p a {
font-family:Verdana;}

#yiv2746049144 #yiv2746049144ygrp-msg
p#yiv2746049144attach-count span {
color:#1E66AE;font-weight:700;}

#yiv2746049144 #yiv2746049144ygrp-reco
#yiv2746049144reco-head {
color:#ff7900;font-weight:700;}

#yiv2746049144 #yiv2746049144ygrp-reco {
margin-bottom:20px;padding:0px;}

#yiv2746049144 #yiv2746049144ygrp-sponsor #yiv2746049144ov
li a {
font-size:130%;text-decoration:none;}

#yiv2746049144 #yiv2746049144ygrp-sponsor #yiv2746049144ov
li {
font-size:77%;list-style-type:square;padding:6px 0;}

#yiv2746049144 #yiv2746049144ygrp-sponsor #yiv2746049144ov
ul {
margin:0;padding:0 0 0 8px;}

#yiv2746049144 #yiv2746049144ygrp-text {
font-family:Georgia;}

#yiv2746049144 #yiv2746049144ygrp-text p {
margin:0 0 1em 0;}

#yiv2746049144 #yiv2746049144ygrp-text tt {
font-size:120%;}

#yiv2746049144 #yiv2746049144ygrp-vital ul li:last-child {
border-right:none !important;
}
#yiv2746049144

__._,_.___

Posted by: Kambiz Afshartous <kenaf42@yahoo.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (8)

.

__,_._,___

Tidak ada komentar:

Posting Komentar