|
-
Jun 23rd, 2003, 01:08 AM
#1
Thread Starter
Hyperactive Member
n-tier & COM confuse
i hv functional process (business logic ) as follows
sql="select * from ...."
rs.open "sql"
do while not rs.eof()
calculateAmt=calculateQamt(rs("field1"),rs("field10"))
If caculateamt>0 then
myval=do some events
else
myval=do some Events
endIf
rs.movenext
end loop
if myVal>0 then
runStoredProcedure for Insert
else
runStoredPrcodure for Update
endif
------------------------
for this
1.do i need to write everything in StoredProcedre?
2.write everything in COM?
if i write rs.movenext,rs.open is this good approach
Which is the best approch for n-tier arch.
Help me
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|