473,385 Members | 1,647 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,385 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 1224
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.