Update options

Adam Robertson aroberts@orange.usyd.edu.au
Tue, 13 May 2003 17:00:38 +1000


This is a multi-part message in MIME format.

------=_NextPart_000_0059_01C31971.2E2FA8A0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

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

------=_NextPart_000_0059_01C31971.2E2FA8A0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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


<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D219343801-13052003><FONT face=3DArial size=3D2>Hi=20
All,</FONT></SPAN></DIV>
<DIV><SPAN class=3D219343801-13052003><FONT face=3DArial size=3D2>I have =
a .qks screen=20
that&nbsp;has an option <SPAN class=3D219343801-13052003><FONT =
face=3DArial=20
size=3D2>which prints some of the entered =
data:</FONT></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D219343801-13052003><FONT face=3DArial size=3D2><SPAN=20
class=3D219343801-13052003></SPAN></FONT></SPAN><SPAN=20
class=3D219343801-13052003><FONT face=3DArial =
size=3D2>&nbsp;&nbsp;&nbsp; proc=20
designer C<BR>&nbsp;&nbsp;&nbsp;=20
begin<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; do internal=20
i_prt_cover_sheet<BR>&nbsp;&nbsp;&nbsp; end</FONT></SPAN></DIV>
<DIV><SPAN class=3D219343801-13052003></SPAN><SPAN =
class=3D219343801-13052003><FONT=20
face=3DArial size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D219343801-13052003><FONT face=3DArial size=3D2>After =
the user=20
enteres "C" they then have to enter "U" to update the =
data.</FONT></SPAN></DIV>
<DIV><SPAN class=3D219343801-13052003>I want to have it do both in one=20
action.</SPAN></DIV>
<DIV><SPAN class=3D219343801-13052003>I cant just put the 'do internal=20
i_prt_cover_sheet' in the preupdate procedure (which exists and has =
various=20
processing in it)</SPAN></DIV>
<DIV><SPAN class=3D219343801-13052003><FONT face=3DArial size=3D2>as the =
printout is=20
not always needed.</FONT></SPAN></DIV>
<DIV><SPAN class=3D219343801-13052003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D219343801-13052003><FONT face=3DArial size=3D2>My =
though was to=20
have this:</FONT></SPAN></DIV>
<DIV><SPAN class=3D219343801-13052003><FONT face=3DArial =
size=3D2></FONT></SPAN><SPAN=20
class=3D219343801-13052003>
<DIV><SPAN class=3D219343801-13052003><SPAN=20
class=3D219343801-13052003></SPAN></SPAN><SPAN =
class=3D219343801-13052003><FONT=20
face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; proc designer =
UC<BR>&nbsp;&nbsp;&nbsp;=20
begin<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; do internal=20
i_prt_cover_sheet</FONT></SPAN></DIV>
<DIV><SPAN class=3D219343801-13052003><FONT face=3DArial=20
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;something =
here to=20
start the update process&gt;<BR>&nbsp;&nbsp;&nbsp; =
end</FONT></SPAN></DIV></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><SPAN class=3D219343801-13052003><FONT face=3DArial size=3D2>But =
what is that=20
something?</FONT></SPAN></DIV>
<DIV><SPAN class=3D219343801-13052003><FONT face=3DArial size=3D2>I =
could use 'do=20
internal preupdate' but I dont think that would start the update process =

correctly.</FONT></SPAN></DIV>
<DIV><SPAN class=3D219343801-13052003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D219343801-13052003><FONT face=3DArial size=3D2>Any =
assistance would=20
be appreciated.</FONT></SPAN></DIV>
<DIV><SPAN class=3D219343801-13052003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D219343801-13052003><FONT face=3DArial=20
size=3D2>Thanks</FONT></SPAN></DIV>
<DIV></SPAN><SPAN class=3D219343801-13052003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D219343801-13052003></SPAN><FONT face=3DArial =
size=3D2>Adam=20
Robertson</FONT> <BR><FONT face=3DArial size=3D2>Acting Database and Web =

Administrator<BR></FONT><FONT face=3DArial size=3D2>University of =
Sydney,=20
Orange</FONT> <BR><FONT face=3DArial size=3D2>Phone: 02 6360 =
5967&nbsp;&nbsp; Fax:=20
02 6360 5590</FONT> <BR><FONT face=3DArial size=3D2><A=20
href=3D"mailto:aroberts@orange.usyd.edu.au">mailto:aroberts@orange.usyd.e=
du.au</A></FONT>=20
</DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0059_01C31971.2E2FA8A0--