问题 单项选择题

假设某数据库已建有宏对象“宏1”,“宏1”中只有一个宏操作SetValue,其中第一个参数项目为“[Label0].[Caption]”,第二个参数表达式为“[Text0]”。窗体“fmTest”中有一个标签Label0和一个文本框Text0,现设置控件Text0的“更新后”事件为运行“宏1”,则结果是______。

A.将文本框清空

B.将标签清空

C.将文本框中的内容复制给标签的标题,使两者显示相同内容

D.将标签的标题复制到文本框,使两者显示相同内容

答案

参考答案:C

解析: SetValue命令可以对Access窗体、窗体数据表或报表上的字段、控件、属性的值进行设置。SetValue命令有两个参数:第一个参数是项目(Item),作用是存放要设置值的字段、控件或属性的名称,本题要设置的属性是标签的caption([Label0].[Caption]);第二个参数是表达式(Expression),使用该表达式来对项目的值进行设置,本题的表达式是文本框的内容([Text0]),所以对Text0更新后运行的结果是文本框的内容复制给了标签的标题。

单项选择题 A2型题
填空题


Health officials in western Siberia are to begin in slaughter of thousands of birds today after identifying Russia’s first outbreak of a bird flu strain that can be fatal in humans. Doctors in neighboring Kazakhstan have also (1) that a 19-year-old poultry worker (2) admitted to hospital with (3) of bird flu, only to be diagnosed (4) double pneumonia.
The H5N1 strain of avian (5) has killed 60 people (6) 2fib in Vietnam, Thailand, Cambodia and Indonesia, but has rarely been found in birds or humans (7) Asia.
Health officials (8) that HSN1 is infecting migrating birds, which could spread the (9) into Europe. Earlier this year China registered the first outbreak of H5N1 (10) wild birds, some of which (11) to breeding grounds in Siberia. These birds could come (12) contact with others flying to Europe and North America.
Russia’s (13) began in the Novosibirsk (14) , about 1,750 miles (15) of Moscow in the Asian part of Russia, early last month, but the veterinary service (16) the virus only last week. Valery Mikheyev, the chief sanitary doctor of Novosibirsk, said that teams had been (17) the (18) birds and supervising the slaughter in13 (19) villages. He said, "The state of (20) of the inhabitants of these areas gives (21) cause for alarm. Up to 6,000 people are being (22) per day.
The virus seems to have (23) only private farms that let (24) mix with wild birds. Further outbreaks were registered in the Omsk and Altai regions, but the strain had (25) to be determined, Russia’s Emergency Situations Ministry said.