txtsql = "ProductID=(select ProductID from tblProduct where Name='" & ProductName & "' AND Size = '" & ProductSize & "')"
sql = "select Price from tblIn where InDate=(select max(InDate) from tblIn where " & txtsql ") & " and & txtsql
帮忙改下好吗?谢谢了
VB的
sql = "select Price from tblIn where InDate=(select max(InDate) from tblIn where " & txtsql ") & " and & txtsql
帮忙改下好吗?谢谢了
VB的
解决方案 »
- 如何根据路径查找程序的PID或句柄呢?!
- 如何提取出qq聊天框中编辑框和显示框的文字!!!!!!! 找不到句柄!!!! 请大侠赐教 现在是qq2009!!!!!!
- DLL中的函数的参数传递问题
- 将Foxpro里表的数据怎样用VB6代码实现导入到sqlserver某个表里?
- 用VB的SHELL命令打开软件a.exe,怎么才能保证软件a.exe的窗口总是在屏幕的最上面?
- 100分求vsflexgrid及注册码
- 将VB中的RichTextBox中的内容通过SQL INSERT到数据库中哪位字符需要过滤或转化的??说出一个字符20分,不够再加!
- 怎样在webbrowser控件中插入一段html代码
- 关于MO可否进行旋转以及风玫瑰问题。很急!!!
- 本人需要定时将一个文件传送到服务器中
- 谁有ActiveX Dll 的例子给小弟发一份?
- 请问如何编辑DLL文件
where " & txtsql & " ) and " & txtsql & ""
txtsql = " ProductID=(select ProductID from tblProduct where Name='" & ProductName & "' AND Size = '" & ProductSize & "')"
sql = "select Price from tblIn where InDate=(select max(InDate) from tblIn where " & txtsql & ") and " & txtsql
where " & " " & txtsql