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:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old September 2nd, 2004, 05:21 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" COMMAND

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" COMMAND


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

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

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





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