DC_GetColArray() - suggestion

This forum is for eXpress++ general support.
Message
Author
User avatar
Tom
Posts: 1176
Joined: Thu Jan 28, 2010 12:59 am
Location: Berlin, Germany

Re: DC_GetColArray() - suggestion

#11 Post by Tom »

My changes to DC_GetColArray() don't work. DC_XbpColumn:Init raises an error (line 3205, build 260) if something like that is done:

Assume that a[x,2] should be a date. But the array is empty when the browse is shown first. It's to be filled later.

Code: Select all

DCBROWSECOL DATA {||DC_GetColArray(2,oBrowse,,EmptyDate()} COLOR {|d|IF(Year(d)=Year(Date()),{GRA_CLR_GREEN,GRA_CLR_BLACK},oBrowse:RowColor())}
("EmptyDate" returns CtoD(" . . "))

Edit: It works well without the color codeblock.
Best regards,
Tom

"Did I offend you?"
"No."
"Okay, give me a second chance."

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

Re: DC_GetColArray() - suggestion

#12 Post by rdonnay »

I'm with Jim Graham at his lake house. We are relaxing and talking about Phantoms. I flew it at 400 feet above the lake complex. I'll try to start thinking about your issue when i'm in a different environment. May need to wait a few more days.
The eXpress train is coming - and it has more cars.

Cliff Wiernik
Posts: 605
Joined: Thu Jan 28, 2010 9:11 pm
Location: Steven Point, Wisconsin USA
Contact:

Re: DC_GetColArray() - suggestion

#13 Post by Cliff Wiernik »

At that height you will be almost into commercial status. Have a great time and say hi to Jim for me.

Cliff

Post Reply