Oracle Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesOracle Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
  #1  
Old September 1st, 2004, 12:16 AM
raza ul haq raza ul haq is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 5 raza ul haq User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
re-problem while insert into

dear sir

thanks for ur kind reply.

i will explain my problem now in detail.

i have only one data block in my form.

so there is no master-detail structure.

actually i am developing PAYROLL SYSTEM for my organization.

i want that when employee will scan his employee-card, his empcode will be filled in a text item and then against that empcode i have to show his picture and other details on the screen from table named as "EMPLOYEEINFO".
THEN
i will insert some data into an other table names as "EMPLOYEE_ATTENDANCE" such as his time-in etcs.

the data block name is "EMPLOYEEINFO" is made on table "EMPLOYEEINFO".

i code at "POST_TEXT_ITEM" of a text item named as "employeecode" THE FOLLOWING

------------------------
select name,EMPPIC
into :name,PICPATH from employeeinfo where empcode=:empcode;
READ_IMAGE_FILE(PICPATH, 'BMP', 'EMPPIC');


insert into attendanceinfo
values(:empcode,'sysdate',1);
COMMIT;
--------------------------

if i do not run "select statment" first then "insert into" works.

please tell me its solution.

regards.

M.RAZA UL HAQ
FAISALABAD PAKISTAN.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesOracle Development > re-problem while insert into


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway