⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rules.html

📁 《VB6数据库开发指南》所有的例程的源码
💻 HTML
字号:
<html>
<head>
<title>Rules for Tables in the School Database</title>
<body bgcolor="#FFFFEE">
<h1>Business Rules</h1>
<pre>
Advisors
  AdvGradeLevel
    Required
    Rule
      IN ('Freshman', 'Sophomore', 'Junior', 'Senior')
    Text
      Grade level must be Freshman, Sophomore, Junior, or Senior

Courses
  CourseDesc
    Required

Faculty
  FacFirst
    Required
  FacLast
    Required

Instructors
  n/a

Students
  StFirst
    Required
  StLast
    Required
  Table
    Rule
      IIf(
          (
            (Not IsNull(StAddress)) Or 
            (Not IsNull(StCity)) Or 
            (Not IsNull(StState)) Or 
            (Not IsNull(StZIP))
          ), 
          (
            (Not IsNull(StAddress)) And 
            (Not IsNull(StCity)) And 
            (Not IsNull(StState)) And 
            (Not IsNull(StZIP))
          ), 
          True
        )
    Text
      If provided, the address must be complete.
    Note: Because you can enter only a single expression, this must be 
          constructed using IIf statements.
</pre>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -