Part of a program im making has a diary where the data is drawn from an access table and searched by date using the ADODataset commandtext thing. This works fine and displays the results. but now i want to be able to edit these results and delete them (basically editing and deleting bookings) but im using the DBnavigator.btnclick(nbedit) thing so when i click on the cell it allows me to edit like a normal DBGrid. However because the data is a result of a search, it wont work and displays the error "Insufficient base table information for updating or refeshing." does any one have any ideas????
Also in another form, im calling the print function to print out the form which works fine but i want to set the print orientation to landscape at runtime to make life easier for the user. someone mentioned POLandscape but i dont know how to write this into my code.