TAGENABLE

This forum is for eXpress++ general support.
Post Reply
Message
Author
User avatar
RDalzell
Posts: 205
Joined: Thu Jan 28, 2010 6:57 am
Location: Alsip, Illinois USA

TAGENABLE

#1 Post by RDalzell »

Hi Roger,

When using the TAGENABLE clause of DCBROWSE for a database without the TAG field, is an array automatically created which I can use?

I had placed the TAG field into my database (works wonderfully), but as it is simultaneously accessed in a multiuser environment, each users individual TAGs interfere with proper operation. Therefore an array per user session would be the better solution for my purpose.

I am uncertain if I have to place additional code into a DCBROWSE EVAL or if you already create an array behind the scenes for this use.

Code: Select all

@ 0,0 DCBROWSE oBrowse ALIAS "Hearing"
         TAGENABLE ;
         TAGCOLOR GRA_CLR_RED, GRA_CLR_YELLOW ;
         TAGMODE DCGUI_TAGMODE_SET ;
         ITEMMARKED {|| Dc_GetRefresh(oButton) } ;
         ITEMSELECTED {|| Dc_ReadGuiEvent(DCGUI_EXIT_OK, GetList) }
Thanks,
Rick

User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: TAGENABLE

#2 Post by rdonnay »

Rick -

I recommend NOT using the TAG field for multi-user purposes.

If there is no tag field, then a public array is automatically created.

This array can be accessed by the function DC_RecTagArray().
It is simply a multi-dimensional array of record numbers anchored to the current work area.

BTW - I have to spend some days in Chicago this month. It would be great to get together.
Not sure of the days yet.

Roger
The eXpress train is coming - and it has more cars.

User avatar
RDalzell
Posts: 205
Joined: Thu Jan 28, 2010 6:57 am
Location: Alsip, Illinois USA

Re: TAGENABLE

#3 Post by RDalzell »

Roger,

Thanks, let me know when, looking forward to see you again.

Rick

Post Reply