Find Jobs
Hire Freelancers

Create Crosstab Recordset from Normal Recordset

$30-5000 USD

已完成
已发布将近 21 年前

$30-5000 USD

货到付款
I have a vb 6 project and an access 2000 database and I create a crosstab recordset (transform statement ) by executing a crosstab query on the database that returns a ado recordset. I need now a function in vb 6 that will accept as parameters a standard ado recordset that will return a crosstab recordset by manipulating the normal recordset that is passed in. I need this because I want to create the crosstab recordset without making a connection to the database. This function will have also parameters passed in that will represent the Row Value , the Column Value and The Measure Value ) . The function would look something like this : Private Function CreateCrossTabRecordset (NormalRst as [login to view URL], ArrayRowValues() as string, ColumnField as string, ValueField as string,AggregationType As String) ) as [login to view URL] dim TempRst as [login to view URL] '''''''Create Crosstab Recordset set CreateCrossTabRecordset = TempRst End Function. Note :The parameters that are passed in correspond to field names that are inside the original ado recordset. I have included a sample demo showing how I perform this function now and how I would like it to perform. Specifications : The parameter AraryRowValues passed into the function will be a string array because the row values may be more than one. The elements of the array will correspond to field names from the original recordset The parameter Column field will represent a string corresponding to a field name from the original recordset and will create the field value of the new crosstb recordset. The parameter Value Field will represent a string corresponding to a field name from the original recordset and will be use as the value field in the new crosstab recordset. The parameter AggregationType will represent a string and possible values will be : Sum Min Max Average Count According to the value supplied in the function the recordset will perform the appropriate aggregation. ## Deliverables 1 .I need a function in the sample Project that I have included so that when I press the button ''How i would like it to work" the results returned to the datagrid are the same as as if I pressed the button ''How it works now.''. [login to view URL] and fully-functional working program(s) in executable form as well as complete source code of all work done. 3. Complete ownership and distribution copyrights to all work purchased. ## Platform Windows 98,2000,xp
项目 ID: 2944813

关于此项目

5提案
远程项目
活跃21 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
See private message.
$85 USD 在14天之内
4.9 (16条评论)
5.1
5.1
5威客以平均价$262 USD来参与此工作竞价
用户头像
See private message.
$11.05 USD 在14天之内
4.6 (151条评论)
6.1
6.1
用户头像
See private message.
$126.65 USD 在14天之内
4.8 (30条评论)
5.4
5.4
用户头像
See private message.
$918 USD 在14天之内
5.0 (15条评论)
4.9
4.9
用户头像
See private message.
$170 USD 在14天之内
0.0 (0条评论)
0.0
0.0

关于客户

GREECE的国旗
Greece
5.0
22
会员自8月 18, 2003起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。