Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Grid Object Data Display

Status
Not open for further replies.

annbee

Programmer
Oct 3, 2001
1
US
Hi,

I am using grid object to display data on the page.When
there are no records in table nothing is displayed.

Requirement: If there are no records I need to display the grid with a blank record for the user to enter the data.

Any help would be appreciated

Thanks
 
You can quite easily modify the Grid DTC code to display a message when the recordset is empty.

However, the grid DTC is not too good with empty blank rows - ie the one created with the recordset.AddRecord. It is a bit tricky to get it to be editable at all!

Your best bet is to identify if the recordset is empty, and manually 'show' some data entry fields. (Content Management)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top