Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 4236 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi all,

 

I need to filter records based on Product availability.

 

I have a table, Products. There are thousands of records, each having different product code in it.

Also, I have a table, Project. When i create a project & i use different products in it.

 

Suppose I created a Project ABC for the duration 10/6/2013 to 15/6/2013. Between these duration, I will get a list of available products during these period. and from that i will choose the product which i require.  i choose a Product X for this duration.

 

Again, when i create a Project XYZ for the duration 12/6/2013 to 14/6/2013. Product X should not be available in the list.

 

Please, give a logic or example file to solve this out.

 

Thanks.

Posted

Hi,

Looking into your requirement I am thinking that you are want a to setup rental type functionality in your project section. For this you can use many ways but if you want to solve this in a simple way here is a file which can give you a solution I have attached  for the same. Here its just checking the availability of product in the date range slot from its occupier and showing available products. Go through it and let me know if you will need any help there.

 

If you are using FM12 then you can also use the Execute SQL function to find out the available products for the date range slot but that need some complex select query :-)

 

 

 

with regards,

 

Project.zip

Posted

Hi Manjit,

 

Thanks for the reply.

 

I have attached the file actually what i need and mentioned the details. If you can look at it , it will very helpful for me.

 

Thanks.

 

Deepak

 

 

Projects.zip

Posted

You have not supplied enough information for anybody to give you an answer.

 

Are there multiple time slots per project?

 

That would suggest that there might be a project time slot table; with projectID; start; and end.

 

What does it mean for a product to be available? Can a product have multiple time slots?

 

If a product is used in one project time slot, is it still available for use in other projects for that time slot?

  • Like 1

This topic is 4236 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.