HP3000-L Archives

July 2006, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Pavan Kumar <[log in to unmask]>
Reply To:
Pavan Kumar <[log in to unmask]>
Date:
Fri, 21 Jul 2006 13:18:45 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (71 lines)
Hi,

I have a problem with updating the data in turboimage database through 
php. I am looking for some kind of help which will solve this problem.

Here is the problem:

We are using Turbo Image database on HP3000 system. I am providing one
table(ITMMSTR) contents for reference

**********************************************************************
**
***********************************************
DATA BASE: LIBDB .DATABASE              WED, JUL 19, 2006,  1:17 PM


DATA BASE LANGUAGE ATTRIBUTE: NATIVE-3000


SET NAME:
   ITMMSTR,MANUAL

      ITEMS:
         ITM-ITEM-NO,          X10           <<KEY ITEM>>
         ITM-TITLE,            X70
         ITM-GROUP-CODE,       X4
         ITM-CAT-CODE,         X2
         ITM-LEAD-NAME,        X14
         ITM-LEAD-PHONE,       X8
         ITM-ORG-NUMBER,       X6
         ITM-BASEPLANE,        X4
         ITM-BASELINE-CD,    20X2
         ITM-BASELINE-MDL,   20X10
         ITM-RELEASETYPE1,    5X4
         ITM-RELEASETYPE2,    5X4
         ITM-PLNG-GRPCD,       X6
         ITM-PARTICIPANT,      X6
         ITM-1ST-CUS-DBT,     3X4
         ITM-IWS-SECTION,      X2
         ITM-SUB-CUS-DBT,     3X4

      CAPACITY: 40739           ENTRIES: 26845


**********************************************************************
**
***************************************************

I have developed a screen in html for allowing users to enter the 
values. At the bottom of the screen, there is button called update.
After entering the data in the fields on the screen and clicking on 
the update button, it will call php code, which will try to update the 
data entered on the screen in the TurboImage database.

Before updating I stored the values entered against the fields on the 
screen in to an array. When I use this array in the update call 
intrinsic(mpe_dbupdate), it is not throwing any errors but it updating 
"NULL ITEM" value for the arrays like ITM-BASELIN-CD field(marked in 
red above). Rest of the fields are updating properly.

I guess I am doing something wrong and therefore it is not working 
properly.

If any body have a solution for this problem, please let me know.

Thanks & Regards,
Pavan Kumar

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2