December 28, 200619 yr I have a layout form, A, with several fields like the following; Restaurant Pax Rate Total 1. 2. . . 10. Each field is individual, meaning there is a total of 40 fields for the above example. The (restaurant field) is a dropdown valuelist from the next table, B. This table allows user to input the rate for each restaurant, so that the rate will be automatically fill-in when the user selects the restaurant in form A. For single record, i can simply relate both tables (restaurant field) and use the (rate field)from table B in form A, but for this case, i can't since each (rate field) in form A is unique, for account purposes. Anyone can enlighten me on this?
December 28, 200619 yr Move your data into a related Items table - 10 related items for each record in A.
January 2, 200719 yr Author Thats awesome! One more qn though, is it able to do a total of all the selected rates?
January 2, 200719 yr Yes, of course: a calculation field in the Main table (result is number) = Sum ( MainDetails::Rate ) will do just that. Note that for a printed report, you would use a summary field in the MainDetails table, and sub-summarize the report by Main.
Create an account or sign in to comment