DataWindow.NET : issue using external datawindow #2

Hello,

I created an external datawindow with 3 columns, but I have
error messages when I want to use it in my VB.NET
application :

When I want to insert rows, I get the message : "InsertRow
was called when no DataWindow object was attached."

I set in design mode my pbl library and also the datawindow
name I want to use. I also tried to set it dynamically in
the code, but it changes nothing (I can see the DataWindow
in design mode).

I'm sure SQLCA isn't useful for this kind of DataWindow, but
I also tried to set it and I get the message "SetTransaction
was called when no DataWindow object was attached.".

All my other DataWindows work fine, but not this one (this
is also the only one "external").

I really don't understand why it always tells me that no
DataWindow object is attached, is there anything I missed ?
A property or something else ?

Best Regards,
0
jcbpro81
8/29/2007 9:11:29 AM
sybase.datawindow.net 2302 articles. 0 followers. Follow

1 Replies
820 Views

Similar Articles

[PageSpeed] 22

Can you upload a small example that demonstrates this problem? 

Regards,
Dave Fish
Sybase

On 29 Aug 2007 02:11:29 -0700, jcbpro81 wrote:

>Hello,
>
>I created an external datawindow with 3 columns, but I have
>error messages when I want to use it in my VB.NET
>application :
>
>When I want to insert rows, I get the message : "InsertRow
>was called when no DataWindow object was attached."
>
>I set in design mode my pbl library and also the datawindow
>name I want to use. I also tried to set it dynamically in
>the code, but it changes nothing (I can see the DataWindow
>in design mode).
>
>I'm sure SQLCA isn't useful for this kind of DataWindow, but
>I also tried to set it and I get the message "SetTransaction
>was called when no DataWindow object was attached.".
>
>All my other DataWindows work fine, but not this one (this
>is also the only one "external").
>
>I really don't understand why it always tells me that no
>DataWindow object is attached, is there anything I missed ?
>A property or something else ?
>
>Best Regards,
0
Dave
8/29/2007 7:20:46 PM
Reply:

Similar Artilces:

DataWindow.NET : issue using external datawindow
Hello, I created an external datawindow with 3 columns, but I have error messages when I want to use it in my .NET application : When I want to insert rows, I get the message : "InsertRow was called when no DataWindow object was attached." I set in design mode my pbl library and also the datawindow name I want to use. I also tried to set it dynamically in the code, but it changes nothing. I'm sure SQLCA isn't useful for this kind of DataWindow, but I also tried to set it and I get the message "SetTransaction was called when no DataWindow object was att...

datawindows in composite datawindow used in datawindow.NET, are not sliding up
Hi, Problem: datawindows in composite datawindow used in "datawindow.NET", are not sliding up , if one dw is not visible or did not retrieve data. Resulting in unwanted spaces. The height of blank white space is equal to the height of the datawindow art design time. When I looked at the generated JavaScript, I noticed there is "div" for the datawindow with height 0.00in which is supposed to be not visible. Tried different options with html/xhtml/xml same result. But slides up ok when exported to pdf(using saveas) on web and in PB10.5 application. Also s...

Problems with External Datawindows in Datawindow .Net
Has anyone used an external datawindow within a datastore in a .Net application? We are converting a piece of functionality from PowerBuilder to C# .Net and the routine uses an external datawindow. Since it is an external I didnt do SetTransObject before doing the InsertRow. I simply tried inserting a row into the datastore and a DatawindowNotCreatedException was thrown. Has anyone run into something similar? We are widely using external datawindow. Your error is not concerned with external datawindow. It is concerned with DataWindowControl bad behaviour (it is documented,...

Is DataWindow 2.5 in Dw.Net is same as DataWindow in PB11.2
Hi there , Can anybody confirm the said subject is a valid statement ? Dw.Net2.5 = PB11.2.DataWindow ???? How about the future enhancements which are planned for PB11.5 and future releases of PB... Will it not always be in the same codestreamline ? Regards , Van I mean how will be co-relate the three products from Sybase 1) DataWindow.Net 2.5 for Visual Studio 2008 2) PocketPowerBuilder Datawindows 3) PowerBuilder11.2 and Powerbuilder1x.x Datawindows All everthing is remain the same in all the above three products as far as Datawindow properties / events /...

Is there any issue in creating dynamic datawindow in Datawindow.Net?
Hi I have created a datawindow object in PB10 and exported in to SRD file. In my dot.net application, I read the file into string and issued the following command to create datawindow dynamically. But it throws an methodfailureexception error as "incorrect syntax at line 18 and column 14. Dim ls_create As String Dim fs As FileStream fs = New FileStream(curFileName, FileMode.Open, FileAccess.Read) 'declaring a FileStream to open the file named file.doc with access mode of reading Dim d As New StreamReader(fs) 'creating a new StreamReader and passing the filestream...

Find DataWindow into pbl with datawindow.net 2.5
Hi How I can browse an datawindow object into pbl file with datawindow .net 2.5 ?. Thanks, Please post this queston in the beta forum. On 1 Feb 2007 13:21:40 -0700, "Cristian Mu�oz Tello." <cmunoz@serco.cl> wrote: >Hi > >How I can browse an datawindow object into pbl file with datawindow .net >2.5 ?. > >Thanks, > > > > ...

DataWindow This, DataWindow That...
Blah blah blah You've heard it enough that you don't even want to comment on how many times... The DataWindow. ....but it can't be enough anymore...can it? This from one of our colleagues (and yes my apologies for taking it out of context)... "...PB covers all you need to do that in ONE Tool. This includes Windowprogramming ( meaning the interface to the user: Windows, Sheets, diallougeboxes, etc.), Database operability AND Reporting! Well, I see als well as many other PB users that some of the implementations and features PB offers are improvable. But thi...

datawindow and Datawindow.NET Function Comparison
Hi All! What is the equivalent function in datawindow.net for the dw_1.GetSelectedRow() Is there any listings or comparison available for datawindow.net function and datawindow? Thanks.in advance S. Viswanathan Look to DataWindowControl.FindNextSelected(RowNumber) method. Regards, Mikhail Klygin. Viswanathan S �����: > Hi All! > > What is the equivalent function in datawindow.net for the > dw_1.GetSelectedRow() > > Is there any listings or comparison available for datawindow.net function > and datawindow? > > Thanks.in advanc...

PB Datawindow to DataWindow .Net Migration
We have a datawindows in PB 9 and PB 11 also. Now we are planing move to .Net Applications. We are generating all PB objects in to .Net(C#) except data windows. Now we are planing to move PB datawindows to DataWindow .Net 2.5. Can you please explaing the way to convert/migrate PB Datawindows to DataWindow .Net 2.5. Advanced thanks for your suggesstions. Thank You, Chaithu Start the Datawindow Designer applet and create a new Project. Then use the Import... feature to import the datawindow source .SRD files. These can be exported from PowerBuilder. -- Paul Horan[Sybase] ...

DataWindow.NET
I'm using DataWindow.NET 1.5.1 9004 on a Windows XP Professional SP 2 machine with the latest Microsoft Update patches. The release notes indicate that change request 385532 is corrected. However, if I configure my computer to use a Windows XP theme the border does not render as expected; a blue bordered box is displayed. If I configure my computer to use a Windows Classic theme the border is rendered as expected. Is there something else I need to do to get the datawindow object column borders to render correctly when using a Windows XP theme? Ken Are you using 3D Lower...

Converting datawindow objects to datawindow .Net
Hi, Can someone please list the various methods we can use to convert the standard datawindow object to a datawindow .net object ? Thanks, Sanjay I'm lost. There's no conversion necessary. PB and DW.Net use the same datawindow objects. On 19 Feb 2007 17:46:15 -0800, Converting wrote: >Hi, > >Can someone please list the various methods we can use to >convert the standard datawindow object to a datawindow .net >object ? > >Thanks, > >Sanjay Thanks Bruce. I probably confused you but good to know that we can modify the datawin...

DataWindow .NET for Windows CE .NET #2
It is possible to use DataWindow .NET for Windows CE .NET? When I create a Smart Device Application project for Visual C#, I can't see the Datawindow .NET controls (DW control, Datastore,...). No, it is not possible. DW .NET has an unmanaged code layer that is not applicable to CE .NET. On 31 Jan 2005 04:01:10 -0800, nagyj wrote: >It is possible to use DataWindow .NET for Windows CE .NET? >When >I create a Smart Device Application project for Visual C#, I >can't >see the Datawindow .NET controls (DW control, >Datastore,...). Checkout Sybase'...

Lines Display Limit DDDW ASP.Net 2.0 & Datawindow.Net 2.0
I have a simple data entry form in ASP.net. The form has two dddw. One points at a file with about 200 records to choose from. When you view the form on a Web page and pull down the DDDW, it runs past the end of the page. The scroll bar in the Browser shows up on the side, but when you attempt to scroll the browser, the DDDW field looses focus and the list collapses. I limited the DDDW to 10 lines, but that appears to be being ignored. I have all of the features turned on or True, except display only in the Behavior group. This problem, really makes the Datawindow unusable. I ...

DataWindow.NET and PB10.5 DataWindow Extentions ?
Hi, will the next release (so far I know DataWindow.NET 2.0) will based on the Powerbuilder DataWindow engine 10.5. or in other words: The new DataWindow extentions from PB10.5 (treeview datawindow, autosize ....) will be part of of the next DataWindow.NET Release Till now we are in the process of testing the same pbl's (and datawindows) in Webforms and PB apps. TIA Heino Hellmers Yes. The PowerBuilder 10.5 DataWindow engine is used and those features are supported. "Heino Hellmers" <heino@hellmers.com> wrote in message news:42ff2c87$1@f...

Web resources about - DataWindow.NET : issue using external datawindow #2 - sybase.datawindow.net

PowerBuilder - Wikipedia, the free encyclopedia
PowerBuilder is an integrated development environment owned by Sybase , a division of SAP . It has been in use since 1991, peaking around 1998 ...

Intelligent Versus Surrogate Keys
Should I use business columns as primary key fields for tables in thedatabase, or generate artificial primary key values? When business-related ...

chevy volt
ProEXR File Description =Attributes= channels (chlist) compression (compression): Zip dataWindow (box2i): [0, 0, 5119, 2475] displayWindow (box2i): ...

Enable - A comprehensive solution for the localization of PowerBuilder applications Untitled Document ...
Enable is localization/ translation tool used by PowerBuilder developers to make their applications multilingual.Enable is a powerful tool that ...

comp.lang.clipper.visual-objects - Google Groups
comp.lang.clipper.visual-objects 1-20 von 33006 Themen werden angezeigt Integrity of a file marcosm...@gmail.com 09:35 Combobox value Lu 08:12 ...

Sybase PowerBuilder tool readied for Microsoft's .Net
Developers can choose Win32 or newer style .Net development

PowerToTheBuilder - PowerBuilder UI Controls
HOME - COMPONENTS - PB UI DESIGNER - DOWNLOAD\PURCHASE - SUPPORT - FAQ - ABOUT Take Control of your UI with PB Ultimate Suite PowerToTheBuilder.com ...

Beautiful iPad Mini 3 Concept Reimagines Apple’s Tablet With iPhone 6 Design, Gold Color [Images]
The iPhone 6 may be grabbing all of the recent headlines due to its impending announcement, but spare a thought for those who prefer to stay ...

Java Networking - Real's HowTo
Real's HowTo Custom Search Java Language String and Number Applet AWT Swing Environment IO Javascript interaction JDBC Thread Networking JSP ...

Business Intelligence Products - Database Management, Data Warehousing & Mobility Software - Sybase Inc ...
Sybase offers a variety of Business Intelligence (BI) software like products for database management, data warehousing and mining, data integration ...

Resources last updated: 12/7/2015 7:32:41 AM