Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Error creating Computed Column

3 posts in DataWindow .NET Last posting was on 2004-12-12 01:32:27.0Z
Harshad Rathod Posted on 2004-12-11 23:51:57.0Z
Sender: 73b0.41bb860b.1804289383@sybase.com
From: Harshad Rathod
Newsgroups: sybase.public.datawindow.net
Subject: Error creating Computed Column
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <41bb881d.73bb.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 11 Dec 2004 15:51:57 -0800
X-Trace: forums-1-dub 1102809117 10.22.241.41 (11 Dec 2004 15:51:57 -0800)
X-Original-Trace: 11 Dec 2004 15:51:57 -0800, 10.22.241.41
Lines: 17
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.datawindow.net:989
Article PK: 125414

DW 1.0 Build 5064.
When I try to create a computed column at design time or run
time, in a dw, it causes memory refernece failure and throws
out of the DW Designer (or app at run time). In design
time, I cannot even verify the expression as simple as 1 +
1.

I am sure someone has come across this but could not find on
the newsgroup.

Later I will install DW 1.5 and see if that is fixed. But
for now, I need DW 1.0.


Please help.

Thanks.


Harshad Rathod Posted on 2004-12-12 00:17:16.0Z
Sender: 73b0.41bb860b.1804289383@sybase.com
From: Harshad Rathod
Newsgroups: sybase.public.datawindow.net
Subject: Re: Error creating Computed Column
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <41bb8e0c.73d3.1681692777@sybase.com>
References: <41bb881d.73bb.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 11 Dec 2004 16:17:16 -0800
X-Trace: forums-1-dub 1102810636 10.22.241.41 (11 Dec 2004 16:17:16 -0800)
X-Original-Trace: 11 Dec 2004 16:17:16 -0800, 10.22.241.41
Lines: 22
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.datawindow.net:993
Article PK: 125420

I just downloaded DW 1.0.1 Build 5502 released on 8 Dec.

It fixed my problem.

> DW 1.0 Build 5064.
> When I try to create a computed column at design time or
> run time, in a dw, it causes memory refernece failure and
> throws out of the DW Designer (or app at run time). In
> design time, I cannot even verify the expression as simple
> as 1 + 1.
>
> I am sure someone has come across this but could not find
> on the newsgroup.
>
> Later I will install DW 1.5 and see if that is fixed. But
> for now, I need DW 1.0.
>
>
> Please help.
>
> Thanks.


dfish Posted on 2004-12-12 01:32:27.0Z
From: dfish@_no_spam_sybase.com (Dave Fish [Team Sybase])
Newsgroups: sybase.public.datawindow.net
Subject: Re: Error creating Computed Column
Organization: Sybase Professional Services
Reply-To: nospam_dfish@sybase.com_nospam
Message-ID: <41bb9f28.1180747@forums.sybase.com>
References: <41bb881d.73bb.1681692777@sybase.com>
X-Newsreader: Forte Free Agent 1.21/32.243
NNTP-Posting-Host: vpn-dub-080.sybase.com
X-Original-NNTP-Posting-Host: vpn-dub-080.sybase.com
Date: 11 Dec 2004 17:32:27 -0800
X-Trace: forums-1-dub 1102815147 10.22.120.80 (11 Dec 2004 17:32:27 -0800)
X-Original-Trace: 11 Dec 2004 17:32:27 -0800, vpn-dub-080.sybase.com
Lines: 39
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.datawindow.net:995
Article PK: 125421

Can you post the code you are using? I tried it with 1.5 and it worked
fine.

dw_main.Modify("create compute(band=Detail" + _
" alignment='2' border='2'" + _
" height.autosize=No pointer='Arrow!' moveable=0 resizeable=0 x='3154'
y='8' height='76' width='375' format='0'" + _
" background.mode='1' name=testcol
expression='(DaysAfter(employee_birth_date, today())) / 365' )")

Regards,
Dave Fish
Sybase

TeamSybase blogs: http://www.teamsybase.net/blogs

DataWindow.NET code examples available on CodeXchange:
http://datawindownet.codexchange.sybase.com

On 11 Dec 2004 15:51:57 -0800, Harshad Rathod wrote:

>DW 1.0 Build 5064.
>When I try to create a computed column at design time or run
>time, in a dw, it causes memory refernece failure and throws
>out of the DW Designer (or app at run time). In design
>time, I cannot even verify the expression as simple as 1 +
>1.
>
>I am sure someone has come across this but could not find on
>the newsgroup.
>
>Later I will install DW 1.5 and see if that is fixed. But
>for now, I need DW 1.0.
>
>
>Please help.
>
>Thanks.