daogu

saniao
December 9, 2010

OCX

Posted by : admin
Filed under : Forms

please

i am using oracle forms 6i and using bcd32 ocx and write the following code

x1 := BCD32_DBcd32.OpenComm(:ITEM(’Bcd32′).interface, ‘COM7′);

x2 := BCD32_DBcd32.ReadNow(:ITEM(’Bcd32′).interface);

x3 := substr(x2,3,7);

:sin_load.QTY := x3;

commit;

x1 := BCD32_DBcd32.CloseComm(:ITEM(’Bcd32′).interface) ;

the code work fine and very good when i run the form in the debuger (:sin_load.QTY := value) but if i run the form in the runtime it give (:sin_load.QTY := null)???

can any body help me ??


Answer:Is the runtime running on your PC or on a server?

David

Related posts:

  1. who dares to give the solution hi every body i am using mscomm component for...
  2. How can i create an LOV that should not run if item field is not NULL HI, can any one give me the code to...
  3. Restricting some users from connecting with database using tools other than forms Runtime, Repor I want to restrict some users from connecting with...
  4. Getting Externally Menu item code Hi all, I want to select the menu item...
  5. DATE issues in Forms when i insert date in text item for example..01-JUN-07...

Tags :

No Comments

(required)
(will not be published) (required)
(opitional)