Update options

Pickering, John (NORBORD) PICKERIJ@norbord.com
Tue, 13 May 2003 20:38:14 -0400


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C319B1.1AC1A530
Content-Type: text/plain;
	charset="iso-8859-1"

How about the using the "postcommand"? As in:
 
procedure designer C postcommand update 
begin
   do intenal i_prt_cover_sheet
end
 
 
 
 -----Original Message-----
From: Adam Robertson [mailto:aroberts@orange.usyd.edu.au]
Sent: Monday, May 12, 2003 9:49 PM
To: Powerhouse List (E-mail)
Subject: Update options


Hi All,
I have a .qks screen that has an option which prints some of the entered
data:
    proc designer C
    begin
        do internal i_prt_cover_sheet
    end
 
After the user enteres "C" they then have to enter "U" to update the data.
I want to have it do both in one action.
I cant just put the 'do internal i_prt_cover_sheet' in the preupdate
procedure (which exists and has various processing in it)
as the printout is not always needed.
 
My though was to have this:
    proc designer UC
    begin
        do internal i_prt_cover_sheet
        <something here to start the update process>
    end
 
But what is that something?
I could use 'do internal preupdate' but I dont think that would start the
update process correctly.
 
Any assistance would be appreciated.
 
Thanks
 
Adam Robertson 
Acting Database and Web Administrator
University of Sydney, Orange 
Phone: 02 6360 5967   Fax: 02 6360 5590 
mailto:aroberts@orange.usyd.edu.au <mailto:aroberts@orange.usyd.edu.au>  
 

------_=_NextPart_001_01C319B1.1AC1A530
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 5.50.4522.1800" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=484533400-14052003>How 
about the using the "postcommand"? As in:</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=484533400-14052003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=484533400-14052003>procedure designer C postcommand update 
</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=484533400-14052003>begin</SPAN></FONT></DIV>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma><FONT 
size=2><SPAN class=484533400-14052003><FONT face=Arial 
color=#0000ff>&nbsp;&nbsp; do 
intenal&nbsp;i_prt_cover_sheet</FONT></SPAN></FONT></FONT></DIV>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma><FONT 
size=2><SPAN class=484533400-14052003><FONT face=Arial 
color=#0000ff>end</FONT></SPAN></FONT></FONT></DIV>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma><FONT 
size=2><SPAN class=484533400-14052003></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma><FONT 
size=2><SPAN class=484533400-14052003>&nbsp;</SPAN></FONT></FONT></DIV>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma><FONT 
size=2><SPAN class=484533400-14052003></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma><FONT 
size=2><SPAN class=484533400-14052003>&nbsp;</SPAN>-----Original 
Message-----<BR><B>From:</B> Adam Robertson 
[mailto:aroberts@orange.usyd.edu.au]<BR><B>Sent:</B> Monday, May 12, 2003 9:49 
PM<BR><B>To:</B> Powerhouse List (E-mail)<BR><B>Subject:</B> Update 
options<BR><BR></DIV></FONT></FONT>
<DIV><SPAN class=219343801-13052003><FONT face=Arial size=2>Hi 
All,</FONT></SPAN></DIV>
<DIV><SPAN class=219343801-13052003><FONT face=Arial size=2>I have a .qks screen 
that&nbsp;has an option <SPAN class=219343801-13052003><FONT face=Arial 
size=2>which prints some of the entered data:</FONT></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=219343801-13052003><FONT face=Arial size=2><SPAN 
class=219343801-13052003></SPAN></FONT></SPAN><SPAN 
class=219343801-13052003><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; proc 
designer C<BR>&nbsp;&nbsp;&nbsp; 
begin<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; do internal 
i_prt_cover_sheet<BR>&nbsp;&nbsp;&nbsp; end</FONT></SPAN></DIV>
<DIV><SPAN class=219343801-13052003></SPAN><SPAN class=219343801-13052003><FONT 
face=Arial size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=219343801-13052003><FONT face=Arial size=2>After the user 
enteres "C" they then have to enter "U" to update the data.</FONT></SPAN></DIV>
<DIV><SPAN class=219343801-13052003>I want to have it do both in one 
action.</SPAN></DIV>
<DIV><SPAN class=219343801-13052003>I cant just put the 'do internal 
i_prt_cover_sheet' in the preupdate procedure (which exists and has various 
processing in it)</SPAN></DIV>
<DIV><SPAN class=219343801-13052003><FONT face=Arial size=2>as the printout is 
not always needed.</FONT></SPAN></DIV>
<DIV><SPAN class=219343801-13052003><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=219343801-13052003><FONT face=Arial size=2>My though was to 
have this:</FONT></SPAN></DIV>
<DIV><SPAN class=219343801-13052003><FONT face=Arial size=2></FONT></SPAN><SPAN 
class=219343801-13052003>
<DIV><SPAN class=219343801-13052003><SPAN 
class=219343801-13052003></SPAN></SPAN><SPAN class=219343801-13052003><FONT 
face=Arial size=2>&nbsp;&nbsp;&nbsp; proc designer UC<BR>&nbsp;&nbsp;&nbsp; 
begin<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; do internal 
i_prt_cover_sheet</FONT></SPAN></DIV>
<DIV><SPAN class=219343801-13052003><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;something here to 
start the update process&gt;<BR>&nbsp;&nbsp;&nbsp; end</FONT></SPAN></DIV></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=219343801-13052003><FONT face=Arial size=2>But what is that 
something?</FONT></SPAN></DIV>
<DIV><SPAN class=219343801-13052003><FONT face=Arial size=2>I could use 'do 
internal preupdate' but I dont think that would start the update process 
correctly.</FONT></SPAN></DIV>
<DIV><SPAN class=219343801-13052003><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=219343801-13052003><FONT face=Arial size=2>Any assistance would 
be appreciated.</FONT></SPAN></DIV>
<DIV><SPAN class=219343801-13052003><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=219343801-13052003><FONT face=Arial 
size=2>Thanks</FONT></SPAN></DIV>
<DIV></SPAN><SPAN class=219343801-13052003><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=219343801-13052003></SPAN><FONT face=Arial size=2>Adam 
Robertson</FONT> <BR><FONT face=Arial size=2>Acting Database and Web 
Administrator<BR></FONT><FONT face=Arial size=2>University of Sydney, 
Orange</FONT> <BR><FONT face=Arial size=2>Phone: 02 6360 5967&nbsp;&nbsp; Fax: 
02 6360 5590</FONT> <BR><FONT face=Arial size=2><A 
href="mailto:aroberts@orange.usyd.edu.au">mailto:aroberts@orange.usyd.edu.au</A></FONT> 
</DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV></BODY></HTML>

------_=_NextPart_001_01C319B1.1AC1A530--