.
 News & Views
  The online information source for iSeries and mrc-Productivity Series users
.  December 2001  
Volume 1, Issue 4  
.
. . . . . . . . .


Hotline Question of the Month

by Margaret Jeronim
 

Question:

When using the SmartLink feature between Web/CGI retrieval and the Web/CGI maintenance form I receive an error message that this record already exists in the file. I want to pass the default key field to the maintenance application to add a new record and I know that this record does not exist in that file. So what could be going wrong?

Answer:

To allow the Web/CGI maintenance template to accept the passed default values of the ‘add mode’ one needs to install a quick update from our Web site: www.mrc-productivity.com/members/software/update.html.
After installing the update, follow these steps:

1. Re-generate maintenance application.
2. Edit retrieval’s HTML source:

HTML source before changes:

<td nowrap class = “one”>
<A HREF = “javascript:openM00101GC(‘M00101GC.mrc?
K001=@M001
&K002=@M002
&@SMLNK=Y’)”>
Class sign up file</A></td>

3. Remove parameter @SMLNK=Y and replace with    parameters KCMODE=A and KCTLCD=APS in the    SmartLink URL.

HTML source after necessary changes are applied:

<td nowrap @K011>
<A HREF = “javascript:openM00101GC(‘M00101GC.mrc?
K001=@M001
&K002=@M002
&KCMODE=A&KCTLC=APS’)”>Class sign up file</A></TD>

This update and the changes to the HTML source code will allow you to pass default values from Web/CGI retrieval to the Web/CGI maintenance form using the SmartLink option.



Take Our Poll

What trade shows do you plan to attend in 2002?

COMMON
IBM Technical
   Conference
iSeries DEVCOM
Application Software
    Vendors Conferences
     (e.g. JBA, JD Edwards,
     HTE, etc.)

Other Conferences


View Results
View Poll Archive

.
.
.
.
. Quick Links...

Visit mrc's Web site

See a live demo

Get more information

View Latest Newsletter

Last Month's Newsletter

.
.
.
.
. Contact mrc...

mrc@mrc-productivity.com

voice: 630-916-0662

www.mrc-productivity.com

.
 mrc publishes this newsletter on a monthly basis. Subscription is free of charge. Please send any questions or comments about this newsletter to news@mrc-productivity.com. This newsletter is edited by Heather Gately.

Visit our subscription center to update your subscription or unsubscribe.
View our privacy promise.
.