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

推荐订阅源

Attack and Defense Labs
Attack and Defense Labs
T
Threatpost
C
Cybersecurity and Infrastructure Security Agency CISA
H
Hackread – Cybersecurity News, Data Breaches, AI and More
I
Intezer
C
Cyber Attacks, Cyber Crime and Cyber Security
The Register - Security
The Register - Security
量子位
Security Latest
Security Latest
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
大猫的无限游戏
大猫的无限游戏
小众软件
小众软件
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
C
CXSECURITY Database RSS Feed - CXSecurity.com
MyScale Blog
MyScale Blog
J
Java Code Geeks
Apple Machine Learning Research
Apple Machine Learning Research
Google DeepMind News
Google DeepMind News
WordPress大学
WordPress大学
Spread Privacy
Spread Privacy
Jina AI
Jina AI
博客园 - 【当耐特】
P
Palo Alto Networks Blog
Last Week in AI
Last Week in AI
SecWiki News
SecWiki News
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
G
GRAHAM CLULEY
宝玉的分享
宝玉的分享
Hacker News - Newest:
Hacker News - Newest: "LLM"
T
The Blog of Author Tim Ferriss
V
Vulnerabilities – Threatpost
有赞技术团队
有赞技术团队
T
Tor Project blog
H
Hacker News: Front Page
A
Arctic Wolf
NISL@THU
NISL@THU
A
About on SuperTechFans
云风的 BLOG
云风的 BLOG
Engineering at Meta
Engineering at Meta
V
V2EX
N
News and Events Feed by Topic
Webroot Blog
Webroot Blog
Know Your Adversary
Know Your Adversary
P
Privacy International News Feed
I
InfoQ
D
Docker
L
LINUX DO - 最新话题
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
U
Unit 42

博客园 - 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" 下面代码改下?