MOD2000: Main Table Must Have at Least One Record Before Most Workflow Toolbar Control Buttons Become Active

ID: Q244414


The information in this article applies to:
  • Microsoft Office 2000 Developer


SYMPTOMS

When you view a data access page that has a Workflow Toolbar control, and the underlying main table doesn't have any data, the only action available to you on the data access page is the New button. After data is added to the main table, all other Workflow Toolbar control buttons (Edit, and the appropriate workflow actions themselves) become available.


CAUSE

This is the default behavior of the data access page. When no data exists in the table, the Workflow Toolbar control assumes that the first thing that you want to do is add a record. Therefore, only the New button is available. After a new record is saved to the table, you can perform additional actions (such as editing or deleting the existing records, and adding new records).


MORE INFORMATION

Steps to Reproduce Behavior

  1. On the development computer, add a new table to a database that was previously registered with Access Workflow Designer. Ensure that the table has no data.


  2. Switch to Access Workflow Designer. Add this newly created table as a main table.


  3. Add workflow for this table.


  4. Quit Access Workflow Designer.


  5. In Microsoft Access, create a data access page for this empty table. Be sure to select the fields from the main table view and to set the UniqueTable property of the page header to the main table.


  6. Click the page header, and then insert the Workflow Toolbar control.


  7. Save the page. Be sure to also save the page to the Web folder.


  8. From an end-user client computer, browse to the page that you saved in the previous step. Note that the New button is the only button available on the Workflow Toolbar control.


Additional query words: prb empty table no records unavailable actions

Keywords : kbdta accwfdesigner modWFDesigner
Version : :
Platform :
Issue type : kbprb


Last Reviewed: January 26, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.