Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8924265
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T07:21:49+00:00 2026-06-15T07:21:49+00:00

I am using a barcode scanner to scan in barcodes (that consist of the

  • 0

I am using a barcode scanner to scan in barcodes (that consist of the order^location – I use the ^ as a separator) which i then need to separate and put the two values into two text fields. The idea is to scan the barcode into a third text field and then its separated using a process after save is pressed – These are then saved into separate table columns. I have the below which separates the text but I am now trying to get the values held in the array into the text fields on the APEX form.

I have the below code which works in SQL developer with the following lines however when i changed them to try put the value into a text field it fails. I wondered whether i have it correct or maybe incorrect syntax?

 dbms_output.put_line(v_array(1)); -- This works in SQL Developer

 :P1_ORDER := dbms_output.put_line(v_array(1)); -- Fails in SQL Developer & APEX

I get the following when i attempt to run the below in SQL developer. Please can someone help me pass the values in my array to the text fields on my APEX Form. Thanks.

ORA-06550: line 17, column 13:
PLS-00222: no function with name ‘PUT_LINE’ exists in this scope
ORA-06550: line 17, column 5:
PL/SQL: Statement ignored

 declare

  v_array apex_application_global.vc_arr2;
  P1_ORDER number;
  P1_LOCATION number;

 begin

  -- Convert delimited string to array
  v_array := apex_util.string_to_table(:P1_JOB_NUMBER,'^');

  --dbms_output.put_line(v_array(1));
  --dbms_output.put_line(v_array(2));

  :P1_ORDER := dbms_output.put_line(v_array(1));
  :P1_LOCATION := dbms_output.put_line(v_array(2));

 end;
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T07:21:52+00:00Added an answer on June 15, 2026 at 7:21 am

    See put_line is not a function ,its a procedure in dbms_output package .

    You can’t assign dbms_output.put_line to any variable .

    Try this

    declare
    
     v_array apex_application_global.vc_arr2;
     P1_ORDER number;
     P1_LOCATION number;
    
    begin
    
     -- Convert delimited string to array
     v_array := apex_util.string_to_table(:P1_JOB_NUMBER,'^');
    
     --dbms_output.put_line(v_array(1));
     --dbms_output.put_line(v_array(2));
    
     P1_ORDER := v_array(1);
     P1_LOCATION := v_array(2);
    
    end;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

dear all..i've a textfield, it using barcode scanner for input data..after scan it shows
Am developing sample barcode scanner app. I using ZBar API to scan the barcode
I am using Scanner (basic model) to scan the barcode. Scanned barcode will be
I am using a barcode scanner to enter in data and then send the
I'm using a barcode scanner library within my iOS project that currently only supports
In my project i have to read barcodes using barcode scanner Symbol CS3070 through
I am using Zxing Barcode scanner app to scan bar codes using Intent intent
my app makes use of ZXing barcode scanner using the ZXing helper classes IntentIntegrator
i'm using jQuery for my task. Then i'm using barcode scanner for input data
I am trying to read data from a bluetooth barcode scanner (KDC300) using C.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.