Home > Error Calling > Error Calling External Object Function Opendatasource

Error Calling External Object Function Opendatasource

Contents

The dates are > from when I ran that application last. MS Excel spread sheet is used as data source. Typically, you have to click Options... Cancel Red Flag SubmittedThank you for helping keep Tek-Tips Forums free from inappropriate posts.The Tek-Tips staff will check this out and take appropriate action. this contact form

I tried > playing around with the parameter you said I might have to also populate, > but didn't get anything but dialogue boxes. > > Second, I decided I'd probably It >>>>> sounds like you may not have scrolled down enough. >>>>> >>>>> You're pretty sure that 8 is the proper value for the last parameter >>>>> for 11.0? Why are three-bladed helicopters relatively rare? The program recently began crashing with the error message: PowerBuilder Application Execution Error (R0035) Application terminated.

Error Calling External Object Function Powerbuilder

Manfred Maier 2004-10-26 17:45:06 UTC PermalinkRaw Message Hallo Steve,have a look to the OLE-ProgramingExample (Powerbuilder 6.5):OLEObject ole_dokumentole_dokument = CREATE OLEObjectll_ret = ole_dokument.ConnectToNewObject("Word.Application")IF ll_ret <> 0 THENDESTROY ole_dokumentMessageBox("Ablage", "Kann MS-Word-Verbindung nicht herstellen." Talk With Other Members Be Notified Of ResponsesTo Your Posts Keyword Search One-Click Access To YourFavorite Forums Automated SignaturesOn Your Posts Best Of All, It's Free! ole_word_file.MailMerge.OpenDataSource(is_excel_do c,0,FALSE, TRUE,FALSE,FALSE,"","",FALSE,"","","Entire Spreadsheet",FALSE,8) Note that I have no experience working with OLE, so please use "for dummies" language when responding.

The answer you gave was in response to 10.0. >>>>> >>>>> Bottom line - I'm already using what you suggest, and I get the error >>>>> I show. I really wish this stuff was simpler and more consistent, but there it is. Comment Submit Your Comment By clicking you are agreeing to Experts Exchange's Terms of Use. Are you missing SQLStatement1 and OpenExclusive?

The first dialog box you are seeing is an OLEDB dialog box intended to let you select a sheet. Powerbuilder Application Execution Error (r0035) Can >>>>>>> you see what I might be doing wrong here? Simulate keystrokes Etymology of word "тройбан"? TerenceR Microsoft Word Help 1 May 25th 05 09:50 PM OpenDataSource still asks for a table name Don Petersen via OfficeKB.com Mailmerge 4 March 11th 05 07:06 PM Mouse wheel fails

Join Now For immediate help use Live now! It is "Table." There > is one empty row, disitinguishable by being outlined in dots. Please continue this as necessary in the microsoft.public.word.vba.general newsgroup. The comments are property of their posters.

Powerbuilder Application Execution Error (r0035)

students who have girlfriends/are married/don't come in weekends...? If not found, you can provide a far more clear error than what you get otherwise. Error Calling External Object Function Powerbuilder Have you tried working with the code in a VB Go to Solution 3 Comments LVL 33 Overall: Level 33 Editors IDEs 6 Message Expert Comment by:sajuks2003-12-03 can u post Powerbuilder Error 35 Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.Just copy and paste the BBCode HTML Markdown MediaWiki reStructuredText code below into your site. Sybase: PowerBuilder Forum

I think this must come from the registry, as the file name is > structured the same as a bunch of .XLS files in my temp location that were > created weblink ole_word_file.MailMerge.OpenDataSource(is_excel_do c,0,FALSE, TRUE,FALSE,FALSE,"","",FALSE,"","","Entire Spreadsheet",FALSE,8) Note that I have no experience working with OLE, so please use "for dummies" language when responding. Unfortunately, when you disconnect the data source in this way, the document forgets what type of mail merge main document it is (letter merge, catalog merge, label merge etc.), and forgets Below I show what I have tried - following the pattern >>>>>>> you suggested in 2003 for a similar problem under Office 2002.

CONTINUE READING Suggested Solutions Title # Comments Views Activity Mavenproject with NetBeans 3 81 517d Adding ribbon in custom Tab in word 2007 using VBA editor 10 38 134d HTML-Kit Question Some components may not be visible. Mitt kontoSökMapsYouTubePlayNyheterGmailDriveKalenderGoogle+ÖversättFotonMerDokumentBloggerKontakterHangoutsÄnnu mer från GoogleLogga inDolda fältSök efter grupper eller meddelanden comp.soft-sys.powerbuilder Discussion: PB and word mailmerge. (too old to reply) Steve Cooper 2004-10-26 15:29:04 UTC PermalinkRaw Message Could anyone tell navigate here My experience is that Word can suck up a lot of memory that it doesn't necessarily return when done.

Please try the request again. We have recently upgraded to Windows XP and Office XP, do you think there is anything to do with this? You may have to register before you can post: click the register link above to proceed.

Generated Mon, 10 Oct 2016 14:51:56 GMT by s_wx1094 (squid/3.5.20) If this is your first visit, be sure to check out the FAQ by clicking the link above.

The machine that we have to does lots of automated printing is rebooted each and every day. "Jerry" <[email protected]> wrote in message news:[email protected].. > I have an application that connects to If Options is clicked, a dialogue > box appears titled "Table Options." Beneath a "Show" label are 4 > checkboxes "Tables, Vieiws, System Tables and Synaonyms" and an OK and > At the > bottom of the grid is a dropdown labeled "Workbook," with only one value > in it, which is the name of the Word document I have just opened, However, I almost always precede an OpenDataSource call with the following code: ActiveDocument.MailMerge.MainDocumentType = wdNotAMergeDocument This is to ensure that the OpenDataSource call does not fail if the document is already

You can't even copy/paste the value into a Notepad document to have a better look at it. The program recently began crashing > with the error message: PowerBuilder Application Execution Error (R0035) > Application terminated. > Error: Error calling external object > function open at line 302 in The program recently began crashing > > with the error message: PowerBuilder Application Execution Error (R0035) > > Application terminated. > > Error: Error calling external object > > function open his comment is here TIA LAS Laurel View message headers Ads #2 January 26th 06, 08:02 PM posted to microsoft.public.word.mailmerge.fields Peter Jamieson external usenet poster Posts: n/a OpenDataSource fails Please continue this

If Options is clicked, a dialogue > box appears titled "Table Options." Beneath a "Show" label are 4 > checkboxes "Tables, Vieiws, System Tables and Synaonyms" and an OK and > On the bottom left is an "Options" button, and on the right > a disabled "OK" and a "Cancel" button. Peter Jamieson "Laurel" wrote in message ... In a PowerBuilder script, this line of code works fine in Word 9.0 (Office 2000).

At the > bottom of the grid is a dropdown labeled "Workbook," with only one value > in it, which is the name of the Word document I have just opened, If you need the bookmark you have to remember where it is (for example lole_document.Bookmarks.item(ls_bookmark).Start) and add the bookmark to the document again. Just a thought.... /ck "Jerry" <[email protected]> wrote in message news:[email protected].. > The program is using the filename without a path - eg. "filename.doc" > and assumed the file was in the Join them; it only takes a minute: Sign up Powerbuilder word OLE: Run time error 35 while setformresult up vote 0 down vote favorite I am using powerbuilder 12.5 to add

The system returned: (22) Invalid argument The remote host or network may be down. Tags: functioncallingobjecterrorexternal Lavanya NK September 16, 2014 at 09:32 AM 0 Likes 15 replies Share & Follow Privacy Terms of Use Legal Disclosure Copyright Trademark Sitemap Newsletter × Sybase NNTP Get 1:1 Help Now Advertise Here Enjoyed your answer? How to determine enemy ammo levels Foldable, Monoid and Monad Should I serve jury duty when I have no respect for the judge?

you have to know the Sheet name of the sheet you want to open >>>> (`Sheet1$` in this case) >>>> >>>> If you must supply all the parameters, you would need The program recently began crashing > > > with the error message: PowerBuilder Application Execution Error (R0035) > > > Application terminated. > > > Error: Error calling external object > So I'm stumped. Subscribe to our monthly newsletter for tech news and trends Membership How it Works Gigs Live Careers Plans and Pricing For Business Become an Expert Resource Center About Us Who We

Typically sort/filter options can be specified using SQL, but in the case where the user has selected individual records in the Mail MErge Recilpients box, Word uses another method to remember It is retrieved during run time into a Blob variable and then assigned to a OLE control (OLE_1.Objectdata = Blob variable). ole_word_file.MailMerge.OpenDataSource(is_excel_do c,0,FALSE, TRUE,FALSE,FALSE,"","",FALSE,"","","Entire Spreadsheet",FALSE,8) Note that I have no experience working with OLE, so please use "for dummies" language when responding. Sometime it just says "Error calling External function..." We are using PB 6.5, Win XP and Office XP.

This does not work for me, but I'm working with Word 11, and the author of the 2003 thread was working with "Word 2002" - probably Office 2002? - don't know If so, you might try rebooting the machine if you haven't done so recently. Unfortunately I think that behaviour also changed between Word 2000 and 2002.