473,396 Members | 1,872 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,396 software developers and data experts.

Excluding Clients from specific Forms

I have 2 types of forms, sbf’s and mainforms and they are all based off of 2 tables. The sbf’s are based off of tblAnswers which is appended through a query and is used to prepopulate a list of questions for clients. The other forms are based off of tblClient. This allows for all clients to be shown on each form, and the sbf’s with matching ClientID’s to be displayed and thus allowing answers (numeric) to be filled in to a corresponding question while linked to a specific client.

On one of the mainforms (frm1) I have a drop down list which has 5 choices (A-E). When people choose this selection and click “continue” it takes you to 1 of 5 forms (frmA-E). So 1 client should only have information on 1 of the 5 forms.

However, these forms (A-E) are also mainforms, so all clients are contained in each form. That is client 101 has information displayed in frmA, frmB, frmC, frmD, & frmE even though on (frm1) he may have selected A from the drop down box.

While frm1’s continue button allows for client 101 to continue to the correct form (frmA); the potential exists for someone to get to frmB-E and enter information for client 101 here (which would screw up the DB).

So I am wondering if anyone has any suggestions on how to remove client 101 (or any other) from a form different than selected. Or if not removing; to at least hide a clients information if it is not matching the corresponding form.

I know in queries you can do that in a criteria; can this be applied to a form based of a table as well? Any other ideas? Thanks.
Dec 12 '06 #1
3 1225
NeoPa
32,556 Expert Mod 16PB
Add a field to the tblClient table to store the selection.
When not set the ComboBox can be used to update the record.
When previously set, the value displays as is.
All forms have a filter which selects only those records with their own form code in them.
Dec 12 '06 #2
Add a field to the tblClient table to store the selection.
When not set the ComboBox can be used to update the record.
When previously set, the value displays as is.
All forms have a filter which selects only those records with their own form code in them.
Very Cool. I altered the record source to a query based off the tblClients which included the ComboBox and not it excludes all others from this form. Thanks for the help.
Dec 13 '06 #3
This thread is now closed
Dec 13 '06 #4

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

Similar topics

4
by: John Doe. | last post by:
Hi PHP gurus! Our team will be creating a web-application that must have an easy to use programmatic interface for our web-developer clients. The data transferred will primarily be taken from a...
3
by: p s | last post by:
hi can someone tell me how to ensure the height of my window is always exact? (excluding titlebar) in VB6 e.g. if i set the form to 300 pixels, then the total height of the form takes into...
2
by: Juan Dent | last post by:
Hi, I am a little lost here. I read somewhere that .NET offered rich client interaction within Intranets (and presumably within Internets clients as long as they contain the .NET framework). ...
6
by: Judy | last post by:
Here's the problem; We need to return a query that shows the products that aren't associated with a specific PriceGroupID.(PriceGroupID is the specific group that will see these prices) We've...
2
by: aaa | last post by:
Hi I need to perform simple comunication towards my Windows.Forms clients. Service running on server needs to contact/notify client apps running in the network if certain event accurs. Upon this...
1
by: Paul Cook | last post by:
Hi I have a website which uses forms based authentication. However, I need to exclude a file from authentication so that all users can view it. How? Thanks, Paul.
9
by: Guadala Harry | last post by:
This inquiry has to do with the client capabilities and Web client experience: I've been developing rich client apps (Windows desktop client exes in n-tier architecture) for over 10 years and am...
0
by: Macca | last post by:
Hi, I would like to write a "server" application that can run without a required GUI and just processes data. I would like to allow multiple "client" GUI winform apps to be able to "attach" to...
12
by: jim.richardson | last post by:
Hi all, I'd like a page to be excluded from the back button history, that is, when a user hits their browser's back button, it never backs into this particular page. Can anybody please tell...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.