472,993 Members | 1,763 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,993 software developers and data experts.

How to create Balloting of a Housing Project Plots....

102 64KB
Hello dear friends

I want an idea for How to create Balloting of a Housing Project Plots....

There are two files.... one for Plot Numbers and other for Customers details...

What to do for balloting ... looking for an idea or any demo...
thanks
irsmalik
Jan 27 '21 #1
4 1817
twinnyfo
3,653 Expert Mod 2GB
irsmalik,

I'm not sure I understand what you mean by "balloting". I can only imagine that the Plot and Customer tables are related in some way, but until we understand the purpose, we will be unable to hepp!

Thanks!
Jan 27 '21 #2
irsmalik
102 64KB
Dear Mr Twinnyfo

Sorry I could not explain.... Basically this is the balloting of housing scheme.... there are 500 plot in a residential scheme. The location is one the most attractive place... so the customers are more than 4000.... now we have to make a system that computer pick plot from one table and pick one customer from other table and should be save in an other table / query for printing purposes.

This is almost sequential number type project... but I have no idea how to create this sequential type query or vba code....
hope I made clear myself....
thanks
irsmalik
Jan 28 '21 #3
isladogs
443 Expert Mod 256MB
Crossposted at AWF combine-records-in-a-query - post #23 onwards
Jan 28 '21 #4
twinnyfo
3,653 Expert Mod 2GB
irsmalik,

In general (and I'm not going to build this for you), in your Plots table, add a field for "Matched" and in your Customers Table add a field for "Matched". These would be Yes/No fields.

When you are "balloting" off your plots (in the U.S. we would use the word "raffle" or "lottery"), in your queries:

For the Lots:
Expand|Select|Wrap|Line Numbers
  1. SELECT LotNumber 
  2. FROM tblLots 
  3. WHERE NOT Matched;
For the Customers:
Expand|Select|Wrap|Line Numbers
  1. SELECT Customer 
  2. FROM tblCustomers 
  3. WHERE NOT Matched;
Using both recordsets, find out the number of records, generate a random number based upon the number of records for each recordset. Then, RandomLotNumber gets matched to RandomCustomerNumber, update both of those records to Matched = True.

Repeat until there are no more lots. Your actual project will be not much more involved than that. You will just need to keep track of which customer is matched with which lot.

Hope this hepps!
Jan 28 '21 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Ramil Domingo | last post by:
Hi All, I would like to know how to create a setup and deployment project for all my source code solution with varying projects such as VB.NET, C#, ASP.NET, Web Services, etc. so that I could...
4
by: Bruno van Dooren | last post by:
Hi, i have worked with visual studio for a long time, and would like to have a project template that represents a custom project that is used a lot. (Visual studio .NET 2003) the goal is that...
2
by: David Bartosik - MS MVP | last post by:
since installing vs 2003 (alongside vs 2002) I have been unable to create a web project with it. New project, C#, web app, then keep the default web ap name or not, either way, I get the very...
4
by: Paul Wilkinson | last post by:
Sorry if this is a multiple post, but Google crashed when I posted. I'll be briefer this time. I've seen plenty of posts on this topic, but I'm still searching for a solution. I can't create...
6
by: David Thielen | last post by:
Hi; On my home computer (work computer is fine), when I create a new ASP .NET project, it takes minutes (no exageration) for it to create the project. It is paused forever on a dialog that says...
1
by: TZ | last post by:
Hi All Iam trying to Create a New Project using VB.Net/ASP.Net. and Iam getting the following error The default web access mode for this project is set to file share,but the project folder at...
0
by: Arvan[ÑÛÀá³ÉÊ«] | last post by:
I installed Visual Studio.net 2005 CHS Team Suite.Right now I wanna create a webste project,when i click "File","New","Website",I can't find any asp.net project templates! But here C:\Program...
0
by: Arvan | last post by:
I installed Visual Studio.net 2005 CHS Team Suite.Right now I wanna create a webste project,when i click "File","New","Website",I can't find any asp.net project templates! But here C:\Program...
3
by: DBLWizard | last post by:
Howdy All, Is it possible to have Visual Studio 2005 create a project form an existing hosted website? In other words I want to be able connect via ftp to my website structure and have it pull...
2
by: =?Utf-8?B?SmltIFdhbHNo?= | last post by:
I'm new to .NET development, although I have worked with VS2005 and VC++ for a while. A frequent task for me is to create a new project for a new version of my program, without destroying the...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.