tottijohn Posted December 28, 2006 Posted December 28, 2006 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?
comment Posted December 28, 2006 Posted December 28, 2006 Move your data into a related Items table - 10 related items for each record in A.
tottijohn Posted January 2, 2007 Author Posted January 2, 2007 Sorry i don't get what you mean, can elaborate abit more?
tottijohn Posted January 2, 2007 Author Posted January 2, 2007 Thats awesome! One more qn though, is it able to do a total of all the selected rates?
comment Posted January 2, 2007 Posted January 2, 2007 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.
tottijohn Posted January 3, 2007 Author Posted January 3, 2007 Thanks alot comment, finally got everything to work :D
Recommended Posts
This topic is 6926 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