2 blocks...2 stored procedures..common values. [message #83373] |
Wed, 01 October 2003 08:21  |
bluebyte
Messages: 25 Registered: September 2003
|
Junior Member |
|
|
hi all!
my form has 2 blocks..
block 1 contains items a,b,c,d,e,f,g
block 2 contains items j,k,l.
block 1 refers to db table 1.
block 2 refers to db table 2.
now,the the values in :block1.a/b/c are required to
be inserted into table 2 also.
so, i created 2 SPs.. the parameters for which are sent
from 2 form procedures viz. fp_add_tab1, fp_add_tab2.
for the common values, am using :block1.a,:block1.b,
:block1.c in both the procudures.
fp_add_tab1 is sending all the parameters.
** but, fp_add_tab2 is sending null values in parameters :block1.a,:block1.b,:block1.c
can't i use :block1 item values along with :block2 values??
also, i tried to store :block1.a/b/c into variables & sent those variables as parameters in fp_add_tab2..
but,no luck!!!
am getting *cannot insert NULL error*...
pls help me fix this one...
thnx.
|
|
|
|