Date: Tue, 17 Nov 1998 10:42:29 -0500
Reply-To: "ZHAO,JUN IT BIPUS" <JZHAO@BI-PHARM.COM>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: "ZHAO,JUN IT BIPUS" <JZHAO@BI-PHARM.COM>
Subject: WF: Moving between records in DATAFORM of AF
> Dear SAS-Lers:
> I'm using DATAFORM to let users to add or edit records in a dataset.
> I'm having two problems:
> 1.After adding a record (using _add_row_ and _commit_new_row_), DATAFORM
> automatically displays the first record of the dataset instead of the new
> record user just entered.
> 2. I'm using _set_where_ to let user select the record and edit it. After
> editing, the dataset is locked in the record just selected. I use
> _set_where_ with empty selection list to clear the where clause, but now
> record move to the top row instead of current record. In addition, the
> pagedown/up key, which I can used to move record back/forward before the
> selection, now are not functioning.
> My question is:
> How to make the record stays in the current one, instead of going to the
> top, but allow users to use pagedown/up keys to navigate around if they
> choose to?
> Jun Zhao