急!急!!急!!!怎么从Delete!,Filter!或Original!中检索记录?必给分。

flashstar 2001-10-17 09:43:32
从Primary!删除中一条记录后,会在Delete!中有一条相应的删除记录。我怎样才能把它们取出来呢???
...全文
77 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
flashstar 2001-10-17
  • 打赏
  • 举报
回复
up
flashstar 2001-10-17
  • 打赏
  • 举报
回复
来点中文的,这些help有点,嘿,难看。
flashstar 2001-10-17
  • 打赏
  • 举报
回复
可能是我说得不太清楚,我的意思是:
从一个datawindow中删除了多条记录,现在我想在窗体的另一个datawindow中将Delete!的所有内容显示出来。
该怎么办呢?
killerdanny 2001-10-17
  • 打赏
  • 举报
回复
directly to the data of the DataWindow object in the control. This direct data manipulation allows you to access small and large amounts of data in a single statement, without calling functions.
There are several variations of data expression syntax, divided into three groups. This section summarizes the syntax for the three groups. The syntaxes are described in detail later in this chapter.

Data in columns or computed fields when you know the name
One or all items in the column (if rownum is absent, include either buffer or datasource)

dwcontrol.Object.columnname {.buffer } {.datasource } { [ rownum ] }

Returns a single value (for a specific row number) or an array of values (when rownum is omitted).
See "One or all items in a named column or computed field".
Selected items

dwcontrol.Object.columnname {.Primary }{.datasource }.Selected

Returns an array of values with an array element for each selected row.
See "Items in the column from selected rows".
Range of items

dwcontrol.Object.columnname {.buffer } {.datasource } [startrownum, endrownum ]

Returns an array of values with an array element for each row in the range.

See "Items from a range of rows in a column or computed field".

Data in numbered columns

Single items

dwcontrol.Object.Data {.buffer } {.datasource } [ rownum, colnum ]

Returns a single item whose data type is the data type of the column.

See Single items.

Blocks of data involving a range of rows and columns

dwcontrol.Object.Data {.buffer } {.datasource } [startrownum, startcolnum, endrownum, endcolnum ]

Returns an array of structures or user objects. The structure elements match the columns in the range. There is one array element for each row in the range.

See "A block of rows and columns".

Whole rows

Single row or all rows

dwcontrol.Object.Data {.buffer } {.datasource } { [ rownum ] }

Returns one structure or user object (for a single row) or an array of them (for all rows). The structure elements match the columns in the DataWindow object.

See "Single rows or all rows".

Selected rows

dwcontrol.Object.Data {.Primary } {.datasource } .Selected

Returns an array of structures or user objects. The structure elements match the columns in the DataWindow object. There is one array element for each selected row.

See "Selected rows".

Summary of syntaxes

This diagram summarizes the variations in data expression syntax:


For information about getting and setting values of DataWindow object properties using a similar syntax, see "Basic syntax" and "Syntax for nested objects".
WindowsMe 2001-10-17
  • 打赏
  • 举报
回复
These statements set EmpNbr to the current numeric data in the filter buffer for row 4 of the column named salary of dw_employee:

integer EmpNbr

EmpNbr = dw_employee.GetItemNumber(4, &

"salary", Filter!)

These statements set EmpNbr to the original numeric data in the primary buffer for row 4 of the column named salary of dw_Employee:

integer EmpNbr

EmpNbr = dw_Employee.GetItemNumber(4, &
"salary", Primary!, TRUE)

1,075

社区成员

发帖
与我相关
我的任务
社区描述
PowerBuilder 相关问题讨论
社区管理员
  • 基础类社区
  • WorldMobile
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧