logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
nobel_1101  
#1 Posted : Tuesday, August 7, 2007 9:25:41 AM(UTC)
nobel_1101

Rank: Member

Groups: Registered, Registered Users
Joined: 5/17/2005(UTC)
Posts: 24
Location: London

Hi Carot

For some reason I can't post a reply to you in that other thread.

It must have something to do with the DataAvailable property. The DataAvailable property is a ushort type (if memory serves correct) so it shouldn't matter what order you add the field enumerators together.

However are there limitations to what sets of fields you can enter? E.g. High, Low, Close, Vol and Date or Close, Vol, Date.

Was the MDK MSFL manual any help? It should give a description of the DataAvailable property and any limitations.

Regards

Craig

nobel_1101  
#2 Posted : Tuesday, August 7, 2007 12:43:17 PM(UTC)
nobel_1101

Rank: Member

Groups: Registered, Registered Users
Joined: 5/17/2005(UTC)
Posts: 24
Location: London

Hi Carot

I think I know why its not working. Your DataAvailable property should be assigned using ORing rather than summing the variables using a '+' operator.

Try this:

.DataAvailable = MSFL.MSFL_DATA_DATE | MSFL.MSFL_DATE_TIME | MSFL.MSFL_DATA_CLOSE | MSFL.MSFL_DATA_VOLUME;

Regards

Craig

carot  
#3 Posted : Wednesday, August 8, 2007 8:54:43 PM(UTC)
carot

Rank: Newbie

Groups: Registered, Registered Users
Joined: 7/9/2007(UTC)
Posts: 2

Thanks for your help :)
Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.