sharingsunshine Posted January 27, 2007 Posted January 27, 2007 Hello, I have a sub-summary part used in a layout that works fine in the preview mode. This is an invoice application and each invoice has several items/per invoice. If I use the browse mode each item is a record rather than in preview each invoice is a record. Consequently, to delete something in the browse mode would require deleting every item on an individual invoice. Instead I need to delete one record that has all the item detail in it like I can do in the preview mode. How do I delete a record while in preview mode? Thanks, Randal
Raybaudi Posted January 27, 2007 Posted January 27, 2007 Hi while in Browse Mode, to delete the invoice, you have to go to that invoice; sure there is a layout where you can see the invoice.
sharingsunshine Posted January 27, 2007 Author Posted January 27, 2007 thanks for the suggestion, but from what I know that won't work. In browse mode I can't see the entire invoice making it much harder to know what record to delete. Especially,if there are multiple items per invoice. That is why I need a solution while in preview mode. Randal
bcooney Posted January 27, 2007 Posted January 27, 2007 (edited) Sounds like the layout that you're using is based on your invoice line items table occurence. Typically, an invoice is not printed using a sub-summary report. Rather, an invoice is created in a layout based on your invoice table occurence. Line items are entered in a portal on the invoice layout. When you print, a button on the invoice goes to the line items file and prints. However, you bring the invoice #, Date, customer info from the invoice as related fields in the header of the print layout. Also, the relationship btw invoice and its line items is set so that if an invoice is deleted, its line items are also deleted (a cascading delete). So, as said above, if you are on the layout that is based on Invoices, simply deleting the parent invoice will delete all the children line items. Edited January 27, 2007 by Guest
sharingsunshine Posted January 28, 2007 Author Posted January 28, 2007 Thanks for the suggestion. However, I am getting the data for this application from a flat .csv file. I am not real familiar with FileMaker so I found another option. I have created a navigation bar in browse mode and tied the nav bar to our content that is displayed in preview mode. My only problem is the nav bar delete record option won't work. Is there anything I need to do different concerning having two windows you are working with when you want to delete a record? I have all the other nav items working and I got this code as a free download at http://databasepros.com Thanks again, Randal
Lee Smith Posted January 28, 2007 Posted January 28, 2007 I think I know, but What's the name of the file? i.e. NavBar.fp5( fp7), not the solution name. Lee
sharingsunshine Posted January 29, 2007 Author Posted January 29, 2007 Hello, The files are NAV.fp7 and TARGET.fp7 it is a free tip file that comes from databasepros.com Thanks for your willingness to help. Randal
Recommended Posts
This topic is 6509 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now