MOD2000: New Is the Only Toolbar Action That Appears for an Empty Table (245558)



The information in this article applies to:

  • Microsoft Office 2000 Developer

This article was previously published under Q245558

SYMPTOMS

When an empty table appears on a data access page that has a Workflow Toolbar control, the only available workflow action is New. All other workflow actions are unavailable until the workflow-enabled table contains one or more rows of data.

CAUSE

This is the default behavior of a data access page. When no data exists in the table, the data access page "assumes" that the first thing that you want to do is to create a record. Therefore, the data access page is displayed in Insert mode. The toolbar is disabled because the recordset is within a transaction. In Insert mode, the toolbar actions are disabled until you save or undo changes.

RESOLUTION

Either press the New workflow toolbar button on the data access page to enter data into the table, or have data already in the table before you access the page.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a new, blank table.
  2. Register the table as part of a solution.
  3. Add workflow to the table.
  4. Create a data access page based on the table. Place the Workflow Toolbar control on this page.
  5. Save the page.
  6. Browse to the appropriate HTTP address to use the page. For example, browse to

    http://server/database/page

    where server is the name of the Access Workflow Designer server, database is the name of the registered database, and page is the name of the data access page. Note that, except for the New and the Offline buttons, all workflow toolbar buttons are unavailable.
  7. Click the New button, and then add data to the underlying table.
  8. Refresh the page. Note that the workflow actions (other than New and Offline) are now available.

Modification Type:MajorLast Reviewed:8/6/2002
Keywords:kbprb kbWorkFlowDesigner KB245558