I am trying to pass a preselected value to a boundfield within a DetailsView, but I cannot figure out how to do this. Here is the scenario:
A user needs to add an employment history for one of our clients. The user selects the client and is taken to the clients details page. From here, the user...
Thank you very much for the assistance, but this doesn't work. The method is 'GetTrackedClientCount(string addedBy)' for the Public Class 'TrackedClient' (from TrackedClient.CS), within the 'Program' NameSpace. I have tried adding (), (string addedBy), (string), and even (int) to the end of...
I am getting two errors for a piece a code which seems fairly straight-forward. I am working on a C#/ASP.NET app. I have a control that sits in my Template.Master and once the user logs in, presents a list of clients the user is tracking.
Code behind page for control
The errors are returned...
In case anyone else is reviewing this with a similar problem, jmeckley over in C# Microsoft solved this problem for me. Here is the answer:
-----------------------------------
your cache keys all have the same name: "Program_CaseManagers_" + #. Change the name of the cache keys to something like...
Thank you so much! I didn't realize that the key names would cause this issue. It makes sense now that I think about it. And more importantly, IT WORKS! Thank again!
I originally posted a note in the APS.NET forum and did not get a response that resolved my issues. I believe part of that was due to poor explaining, so I will try to give a brief but better description of my problem.
I have 3 webuser controls for my site. Each is a gridview that gives a...
Thank you both for the responses. I have been on a different project the last day or so, and this is my first chance to get back to you.
SiriusBlackOp, I have not tried your solution yet. I wanted to post some of the code I am working with now because I think it may clear up some of the points...
I am new to ASP.Net, so I am not exactly sure if the above description is an accurate description of my problem.
I have 3 separate web user controls that produce similar information from my database in a gridview control. The controls list Case Manager data information filtered by (control 1)...
I am working on a contact management database. Each contact may have resources. We are a non-profit employment agency for people with disabilities, so these resources are types of employment offered from the contact. The resources are described in two tables JobClass and JobName. An example of a...
Thanks Duane! I did actually attempt that, though it may not have been in the best manner. What I did was make outer joins to each of the individual question tables, tied by the PCPABCID. When I got to around question 30, it said the query was too complex. In retrospect, I probably should have...
I have answered this on my own. I am not sure why this worked, but it worked. Previously, when adding the sub reports to the main report, I used the wizard. This would trigger the 'too many controls' error at around question 15, which was far less than the allowable number of controls, but I...
I have been beating my head against this for the last 3 days.
I have a db that has as a component a 73 question assessment. The assessment has yes/no, memo, combo boxes, and multiple choice questions (set as yes/no controls). Some of the multiple choice questions offer up to 15 options.
The...
Dude, this is so sweet! I did not even think about using the Prev and Next commands based on the statusID. Never mind want I was going to do, that is brilliant!
Thanks a ton!
I will implement this when I get to work this morning and let you know how it goes. Thanks a ton!
This part of the database is a 73 question assessment that takes about 1.5 hours to complete. Some of the questions are fairly detailed, and the nature of our work and the clients we support mean that staff may not be able to complete the assessment in one sitting. I wanted to have a simple...
That may be the root of this problem. I am using Access and VBA. I assumed that many things were interchangable. I guess all things are not.
That gets me a LOT closer. It opens the correct form, but not as the sourceobject for the subform (it opens it as its own form), and gives me Run-Time...
Hey, good to have you here! Thanks!
The dynamic switching isn't the problem, Slammer. Its the using the variable as a form name. I probably didn't explain completely enough in this post.
My code builds the subform name based on two pieces, one is the string "frm_Ques_" and the second is the...
I apologize for cross posting, but I did not get any responses in VB 5&6.
I want to be able to open a form as a subform sourceobject based on a string that is built from two other strings. The first is a name convention of a group of forms ("frm_Ques_"), and the second is a number between 1-73...
StrongM has listed answered similar questions to mine many times (as here: thread222-795815), but I cannot get his solution to work for what I want. Here is some of code (it doesn't work, but it may help explain what I am trying to accomplish):
Private Sub cmdPickUp_Click()
Dim frm As Form
Dim...
I am not sure what the problem is, whether it is have a Friday through Thursday function or returning a recordset to a subform based on criteria in a main form (or both).
If you clarify, I may be able to help you.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.