Hi Manaswita,
Sorry, but this is more of an Access question than an InfoPath one. If you were using SQL, it's straightforward. Same for SharePoint. We don't support Access in this forum. If you're interested in SQL or SharePoint solutions, we can provide them, but it takes some time. The forum is meant to answer questions. The answer to your question is "yes, you can do it". However, while the forum is free, we can't provide free development here. If you need help, you can donate what you think the fair price is for help. This is a coding question. We have solved it many times before for SQL and SharePoint. It's not so hard. For Access, I'm sure it's the same old story, but you're not an Access developer. We aren't either. So, you could find one, or convert to SQL/SharePoint. We could help with those, but will need some incentive since it's just not a forum answer. No, it's called work. It's some amount of work to do it. It's not meant for a forum answer. We can do the work, but it takes some time. Maybe 60 minutes or so.... sorry....