skipping syntax lines

This is a discussion on skipping syntax lines within the lotus-notes-misc forums in Other Technologies category; I am using lotus script to embedded an Excel object. The script is doing a loop (10 times). It process the data and embeds the Excel object to the document, but next document does not embed the object and process data. On the third loop, it processs the data and embed the Excel object. Sometimes it will process alternate time (1,3,5,7,9). I inserted print lines to code to see what is happening. It seems to skip a line in the code (Set object = rtitem.EmbedObject(EMBED_OBJECT, ,ExcelFileName$, Analysis ), but when I insert a message box line ...

Go Back   Database Forum > Other Technologies > lotus-notes-misc

Database Forums

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 07-24-2007, 04:22 PM
Default skipping syntax lines

I am using lotus script to embedded an Excel object. The script is
doing a loop (10 times). It process the data and embeds the Excel
object to the document, but next document does not embed the object
and process data. On the third loop, it processs the data and embed
the Excel object. Sometimes it will process alternate time
(1,3,5,7,9). I inserted print lines to code to see what is
happening. It seems to skip a line in the code (Set object =
rtitem.EmbedObject(EMBED_OBJECT,"",ExcelFileName$,"Analysis"), but
when I insert a message box line before this line it runs correctly.
The only problem with this is user has to click ok button of the
message box 10 times. I have used Sleep() syntax, but it did not
work. Is there a way to for the script to stop skipping the line.
Any suggestions will be helpful. Thanks.

Reply With Quote
Reply


Thread Tools
Display Modes



All times are GMT -4. The time now is 08:40 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Integrated by bbpixel2009 :: jvbPlugin R1013.368.1

Search Engine Friendly URLs by vBSEO 3.1.0
vB Ad Management by =RedTyger=
In an effort to better serve ads to our visitors, cookies are used on Mydatabasesupport.com. For more information, check out our Privacy Policy.