Mary Ann Posted August 21, 2010 Posted August 21, 2010 I am not good at writing scripts and I need help. I have 3 tables. The first is Inventory which contains vehicle description and ID No. The second is MileageFuel Use. The fields are Vehicle ID No., Date, End Mileage, Destination, Purpose, Fuel Type, Gallons, and Cost. The third table is MileageFuel Report. It is set up as a portal which has the related fields from MileageFuel Use. The relationship is based on Vehicle ID. I want to be able to show the records from the MileageFule Use table for a specific time period (7/1/10 ...7/31/10) for a specific vehicle. Right now I can show all travel and purchases for a given vehicle, but cannot break it down by time period. What do I need to do?
comment Posted August 21, 2010 Posted August 21, 2010 You need to add more predicates to your relationship - see: http://fmforums.com/forum/showtopic.php?tid/216271/ BTW, I am not sure why you need the third table.
Recommended Posts
This topic is 5207 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