Reply
URGENT ADODB.Recordset adVariant problem
Old 08-07-2009, 07:14 AM URGENT ADODB.Recordset adVariant problem
mwr
Junior Talker

Posts: 1
Name: Michal
Trades: 0
[FONT='Times New Roman','serif']Hello.[/FONT]
[FONT='Times New Roman','serif']I have problem with ADODB.Recordset.[/FONT]
[FONT='Times New Roman','serif']I have query : [/FONT][FONT='Times New Roman','serif']DRILLTHROUGH SELECT FROM ["[/FONT][FONT='Times New Roman','serif'] + _strCube + "] WHERE (" + strWhereMDX + ")".[/FONT]

[FONT='Times New Roman','serif']Query return a Field.[/FONT]
[FONT='Times New Roman','serif']The field have Type = AdVariant and Value 21.0.[/FONT]
[FONT='Times New Roman','serif']When Add RecordSet to[/FONT][FONT='Times New Roman','serif'] AxOWC10.[/FONT][FONT='Times New Roman','serif']AxPivotTable is OK.[/FONT]
[FONT='Times New Roman','serif']When i Export Data from OWC to Excel i Excel i have a number value in string.[/FONT]

[FONT='Times New Roman','serif']I nead a type in recordset double no adVarint.[/FONT]
[FONT='Times New Roman','serif']How can i change type in recordset to double from adVarian.[/FONT]
[FONT='Times New Roman','serif']Any help please ..[/FONT]
[FONT='Times New Roman','serif']Thank [/FONT]
[FONT='Times New Roman','serif']Michal[/FONT]
mwr is offline
Reply With Quote
View Public Profile
 
 
When You Register, These Ads Go Away!
Old 08-09-2009, 04:29 PM Re: URGENT ADODB.Recordset adVariant problem
chrishirst's Avatar
Super Moderator

Posts: 22,216
Location: Blackpool. UK
Trades: 0
adVariant is NOT a supported type in ADO
http://msdn.microsoft.com/en-us/libr...18(VS.85).aspx
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Growing old is mandatory - Growing up is optional
Code Samples | People Counting System | Bits & Bobs
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to URGENT ADODB.Recordset adVariant problem
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 



Page generated in 0.11269 seconds with 13 queries