| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 466 人关注过本帖
标题:80040e10问题 vb 求助
只看楼主 加入收藏
ygd0812
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2006-4-24
收藏
 问题点数:0 回复次数:0 
80040e10问题 vb 求助

Case 15 '*营养与恢复数据库
If txtContent.Text = "" Then
mSsql = "SELECT InjurypabulumID, AthleteName AS 运动员姓名, TeamID AS 项目名称, startDate AS 使用开始时间, endDate AS 使用结束时间, PabulumName AS 营养品名称, PabulumUsemete AS 使用量,Units AS 度量单位, UseAim AS 使用目的,UseEffort AS 恢复效果 FROM Frminjurypabulum "
Else
Select Case mFiledIndex

Case 0
mSsql = "SELECT InjurypabulumID, Frminjurypabulum.AthleteName AS 运动员姓名, Frminjurypabulum.TeamID AS 项目名称, Frminjurypabulum.pabulumName AS 营养品名称, Frminjurypabulum.PabulumUsemete AS 使用量,Frminjurypabulum.Units AS 度量单位,Frminjurypabulum.StartDate AS 使用开始时间, Frminjurypabulum.EndDate AS 使用结束时间, Frminjurypabulum.UseAim AS 使用目的,Frminjurypabulum.UseEffect AS 恢复效果 FROM Frminjurypabulum INNER JOIN AthleteInfo ON Frminjurypabulum.AthleteID = AthleteInfo.AthleteID WHERE AthleteInfo.AthleteName='" & Me.txtContent.Text & "'"
Case 1
mSsql = "SELECT InjurypabulumID, Frminjurypabulum.AthleteName AS 运动员姓名, Frminjurypabulum.TeamID AS 项目名称, Frminjurypabulum.pabulumName AS 营养品名称, Frminjurypabulum.PabulumUsemete AS 使用量 Frminjurypabulum.Units AS 度量单位,Frminjurypabulum.StartDate AS 使用开始时间, Frminjurypabulum.EndDate AS 使用结束时间, Frminjurypabulum.UseAim AS 使用目的,Frminjurypabulum.UseEffect AS 恢复效果 FROM Frminjurypabulum INNER JOIN TeamCode ON Frminjurypabulum.TeamID = TeamCode.TeamID WHERE TeamCode.TeamName='" & Me.txtContent.Text & "'"

End Select
End If


求高手,急。

搜索更多相关主题的帖子: 营养品 运动员 数据库 项目 姓名 
2006-04-24 11:38
快速回复:80040e10问题 vb 求助
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.045637 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved