Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

could you see the 5333 ?

2 views
Skip to first unread message

Mario Schulz

unread,
Feb 5, 2002, 3:48:34 AM2/5/02
to
hi !

i use following code to restore my datacolumns in a standard databrowser :

IF SELF:oDataServer != NULL_OBJECT
SELF:__BuildRecordDescription()
SELF:__RefreshBuffer()
ENDIF


SELF:RestoreUpdate()

IF ! lOwnDataBrowserCaptions
FOR nRow := 1 TO SELF:ColumnCount // in this Line i get sometimes a
5333
IF Empty( SELF:GetColumn(nRow):BlockOwner )
IF ! Empty(SELF:GetColumn(nRow):FieldSpec:Hyperlabel:Caption )
SELF:GetColumn(nRow):Caption :=
SELF:GetColumn(nRow):FieldSpec:HyperLabel:Caption
ENDIF
ENDIF
NEXT
ENDIF


could you see the mistake ?

thanks !

Mario


--
concept Software
Mario Schulz
Rehhorster Straße 8
23619 Zarpen
Tel.: 04533 / 79 89 89
Fax.: 04533 / 79 83 00


Malcolm Gray

unread,
Feb 5, 2002, 4:27:32 AM2/5/02
to

"Mario Schulz" <sch...@saninet.de> wrote in message
news:a3o73f$4qs$1...@wrath.news.nacamar.de...

> hi !
>
> i use following code to restore my datacolumns in a standard databrowser :
>

What version of CAVO are you using?


Geoff Schaller

unread,
Feb 5, 2002, 5:22:35 AM2/5/02
to
Mario,

> IF SELF:oDataServer != NULL_OBJECT
> SELF:__BuildRecordDescription()
> SELF:__RefreshBuffer()
> ENDIF

No - don't do this. Do you have the SDK? It will be clear why if you have.

Simply issue Skip(0) on the server.
This will give you the desired effect.
(which you can also confirm with the SDK)

Geoff


Mario Schulz

unread,
Feb 5, 2002, 8:22:36 AM2/5/02
to
hi !

i change the code to SELF:oDataServer:Skip(0) and SELF:Refresh()... i dont
have the SDK.. why i cannot use _BuildrecordDescription() ??

thanks !

Mario


"Geoff Schaller" <geof...@bigpond.net.au> schrieb im Newsbeitrag
news:LnO78.37717$Ni2.2...@news-server.bigpond.net.au...

Mario Schulz

unread,
Feb 5, 2002, 8:15:20 AM2/5/02
to
hi !

i use 25b3...why ?

bye,
Mario

"Malcolm Gray" <malcol...@jobstream.co.uk> schrieb im Newsbeitrag
news:8AN78.6$6X.414@psinet-eu-nl...

Malcolm Gray

unread,
Feb 5, 2002, 11:57:25 AM2/5/02
to

"Mario Schulz" <sch...@saninet.de> wrote in message
news:a3otog$2au$1...@wrath.news.nacamar.de...

> hi !
>
> i use 25b3...why ?

25b2 included some important fixes for memory corruption that
could cause strange 5333s


Rens

unread,
Feb 5, 2002, 12:42:25 PM2/5/02
to
Hi Mario

It may sound strange, but try UPTO instead of TO in the FOR statement
I had some 5333 also until I did replace the TO, I don't know why

Rens


Geoff Schaller

unread,
Feb 6, 2002, 3:38:51 AM2/6/02
to
But what is __BuildRecordDescription() ???

Is not a method of DBServer or DataServer so I presume its one of your own.
From its name I presume it re-reads field info and why should you do this?
What other initialisations are you causing?

Just use Skip(0) - its all you need.

Geoff

"Mario Schulz" <sch...@saninet.de> wrote in message

news:a3otoh$2au$2...@wrath.news.nacamar.de...

Mario Schulz

unread,
Feb 6, 2002, 4:15:05 AM2/6/02
to
5333 himselfs is a strange thing... i will try it ...

thanks !

bye,
mario

"Rens" <ren...@RemoveThis.wish.net> schrieb im Newsbeitrag
news:a3p54n$agm$1...@news1.xs4all.nl...

Mario Schulz

unread,
Feb 6, 2002, 5:51:20 AM2/6/02
to
hi !

if i only use SKIP(0) i have a problem display the datafields in right
way... if the databrowser is on a tabpage some columns have no value ....

bye,
Mario


"Geoff Schaller" <geof...@bigpond.net.au> schrieb im Newsbeitrag
news:LnO78.37717$Ni2.2...@news-server.bigpond.net.au...

Geoff Schaller

unread,
Feb 6, 2002, 6:20:43 AM2/6/02
to
I don't understand.

"Mario Schulz" <sch...@saninet.de> wrote in message

news:a3r390$rlq$2...@wrath.news.nacamar.de...

0 new messages