惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

N
News and Events Feed by Topic
S
Schneier on Security
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Scott Helme
Scott Helme
V
Vulnerabilities – Threatpost
Cyberwarzone
Cyberwarzone
C
Cybersecurity and Infrastructure Security Agency CISA
Latest news
Latest news
Google Online Security Blog
Google Online Security Blog
Google DeepMind News
Google DeepMind News
K
Kaspersky official blog
Forbes - Security
Forbes - Security
T
Tenable Blog
The Last Watchdog
The Last Watchdog
T
Tor Project blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Simon Willison's Weblog
Simon Willison's Weblog
Project Zero
Project Zero
O
OpenAI News
L
LINUX DO - 热门话题
P
Privacy International News Feed
月光博客
月光博客
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Apple Machine Learning Research
Apple Machine Learning Research
C
Cyber Attacks, Cyber Crime and Cyber Security
量子位
博客园 - 【当耐特】
罗磊的独立博客
T
Threatpost
Application and Cybersecurity Blog
Application and Cybersecurity Blog
C
Cisco Blogs
S
SegmentFault 最新的问题
博客园 - 三生石上(FineUI控件)
N
News | PayPal Newsroom
腾讯CDC
Security Latest
Security Latest
J
Java Code Geeks
L
LINUX DO - 最新话题
N
Netflix TechBlog - Medium
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
T
The Exploit Database - CXSecurity.com
L
Lohrmann on Cybersecurity
D
Docker
Spread Privacy
Spread Privacy
S
Security @ Cisco Blogs
A
Arctic Wolf
H
Hacker News: Front Page
Help Net Security
Help Net Security
Recorded Future
Recorded Future
V2EX - 技术
V2EX - 技术

博客园 - nuxgod

摘:淘宝开店月入上万 不赚钱的技术不是真正的技术 电影金蝉脱壳又一版的越狱哦 昨天今天接到的骚扰电话 微软有“病”,推出bing,看上去算象个站内搜索,心寒! 好久没更新了,太忙了,软件包 javax.servlet 不存在 昨天,自己迷糊得买了个虚拟空间,可现在不知道用它干些什么好啊? 【推荐】不是打广告,个人觉的不错哦 感觉G盘越来越不好了 看了一天的sql配置,头都大了 明后两天的工作计划 使用EditPlus自制的函数查询功能 设计者应该去去的一些网站 我的下载站,新增 第一个问题有待考虑? 今天考虑了很久总算把昨天遗留下来的第二个问题解决了Y - nuxgod - 博客园 做了一天的程序,很困啊,明天还要赶着去上课 有点困了 这是为什么呢? - nuxgod - 博客园
怎样对Access里进行两个表的联合查询? - nuxgod - 博客园
nuxgod · 2007-03-22 · via 博客园 - nuxgod

Select Case TmaterialCatalog
    
Case "Sub"
        Field
="countryID"
        sql
="Select Name From TCountry Where ID=" &SubID& ""
    
Case "Sub0"
        Field
="schoolID"
        sql
="(Select Name From TCountry Where ID=(Select countryID From TSchool Where ID=" &SubID& "))+'-'+(Select Name From TSchool Where ID=" &SubID& ")"
'        Response.Write sql
'
        Response.End 
    Case Else
        Response.Write 
"<body bgColor='#D4D0C8'></body>"
        Response.End 
End Select

有错,这是为什么呢?
为了使开发进度加快,我只好用下面的代码:

Dim Field,sql,strsql
Select Case TmaterialCatalog
    
Case "Sub"
        Field
="countryID"
        sql
="Select Name From TCountry Where ID=" &SubID& ""
    
Case "Sub0"
        Field
="schoolID"
        strsql
="Select Name From TCountry Where ID in (Select countryID From TSchool Where ID=" &SubID& ")"
        sql
="Select Name From TSchool Where ID=" &SubID& ""
        
'sql="Select (Select Name From TCountry Where ID=(Select countryID From TSchool Where ID=" &SubID& "))+'-'+(Select Name From TSchool Where ID=" &SubID& ")"
'
        Response.Write sql
'
        Response.End 
    Case Else
        Response.Write 
"<body bgColor='#D4D0C8'></body>"
        Response.End 
End Select

不知道,谁能帮助我一下,把Case "Sub0" 下面代码改下?