473,402 Members | 2,053 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Can we Flag Field in access table

I have a Table with following Fields :
ID, PROFILE, ACCT_NUM

Each PROFILE can have Multiple ACCT_NUM and ACCT_NUM values can repeat itself across different PROFILE. ID column has unique values and is primary key.

ID PROFILE ACCT_NUM
1 LatePayment 11111111
2 LatePayment 22222222
3 LatePayment 33333333
4 OverLimit 11111111

I have designed the form such thatThe user can select any profile in form and randomly pull 2 Account Numbers.
After this I store this in a separate table and do further processing like creating report Etc.
Then again they move to a different profile and randomly pull 2 Account Numbers. I have coded correctly so far, but the business requirement is that once an Account Number has been selected, it should not be pulled again, even with a different Profile Name.
Is there a Flag that we can use associated with the ACCT_NUM field that has already been part of initial query, so that it is not part of further query selection?

Thanks!
Mar 31 '08 #1
1 3406
PianoMan64
374 Expert 256MB
I have a Table with following Fields :
ID, PROFILE, ACCT_NUM

Each PROFILE can have Multiple ACCT_NUM and ACCT_NUM values can repeat itself across different PROFILE. ID column has unique values and is primary key.

ID PROFILE ACCT_NUM
1 LatePayment 11111111
2 LatePayment 22222222
3 LatePayment 33333333
4 OverLimit 11111111

I have designed the form such thatThe user can select any profile in form and randomly pull 2 Account Numbers.
After this I store this in a separate table and do further processing like creating report Etc.
Then again they move to a different profile and randomly pull 2 Account Numbers. I have coded correctly so far, but the business requirement is that once an Account Number has been selected, it should not be pulled again, even with a different Profile Name.
Is there a Flag that we can use associated with the ACCT_NUM field that has already been part of initial query, so that it is not part of further query selection?

Thanks!
Now the question that I have for you is that the Acct_Num, can it be pulled again after it has been processed?

If so, you're going to have to create some business rules in Code so that it's can't add the account number again, if whatever conditions that you're speaking of are true.

The way that I would do it, is simply create a Yes/No True/False Field in the PROFILE Table, and you create a group by query that will sort by the ACCT_NUM and the InProcess field that you will add.

If it returns True on the last Field displayed, then someone is processing it, if it returns false, then you can add that record for processing and check that particular profile item as in process.

Does that make sense?

Let me know.

Joe P.
Apr 1 '08 #2

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

Similar topics

8
by: Vladimir | last post by:
Hello, I have a table in MS Access database. It has one field (with BYTE datatype) that has several properties set in Lookup tab of table Design View. Display Control = Combo Box. Row Source...
25
by: Lyn | last post by:
Hi, I am working on a genealogy form. The only table (so far) lists everybody in the family, one record per person. Each record has an autonum ID. The parent form (frmMainForm) displays the...
2
by: Richard Coutts | last post by:
I have a simple table with a Yes/no field called "Select." I have an append query that adds items to the table. As items get added, I want the "Select" field of the new items set to True. My...
7
by: Cruisemate | last post by:
I have a table with numerous fields including timeIn and timeOut field. I need to find out how many people were clocked in during each operating hour. Can I run a query that will allow me to...
18
by: Dixie | last post by:
Can I set the Format property in a date/time field in code? Can I set the Input Mask in a date/time field in code? Can I set the Format of a Yes/No field to Checkbox in code? I am working on...
3
by: Jim Archer | last post by:
Hi All... I'm been fighting this problem for a few days now, and it seems like it should be simple. But the solution has eluded me so far... I need to flag a record when it is updated or when...
9
by: Ecohouse | last post by:
I have a main form with two subforms. The first subform has the child link to the main form identity key. subform1 - Master Field: SK Child Field: TrainingMasterSK The second subform has a...
5
by: rdemyan via AccessMonster.com | last post by:
I have a need to add another field to all of my tables (over 150). Not data, but an actual field. Can I code this somehow. So the code presumabley would loop through all the tables, open each...
7
by: Lucas_london via AccessMonster.com | last post by:
Hi I have set up a database/tables in Access based on daily timeseries data. However I would like to create two additional columns in the table as a basis to pull the data on a weekly and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.