User Profile
Collapse
-
this is very simplistic answer for you- but for me its a gold mine- thank you- been having a stumbling block on this -
write a query to find names not entered
Hello,
will try to explain.
i have 4 employees.
jim, jack, joe, and john.
every week a report is created that needs to have one record from each of them.
But they are not responsible and may forget to submit data.
first week
Table1
name endDate
Jim 2/6/10
Joe 2/6/10
John 2/6/10
* Jack forgot to turn in his report*
Is there anyway... -
thank you- i just got a shortcut to work- I was unsure because I was looking at shortcut that is made automatically when I used wizard.
I did not know you have to put path to access- path to database- and / wrkgrp and path to security.mdw-Leave a comment:
-
splitting a secured access (2003) database
Hello,
I have an access database ( access 2003) that has user level security on it.
I am reading a paper that says I don't have to use wizard to split database- that I can manually split database- the first step to the process is create a copy of database.
My database has user level security on it- I can only open it thru a shortcut icon that takes me to password form - that opens database-
How can I copy it?
... -
thank you - your right the time clock form has no need to log in- so I will only have log in for staff dataLeave a comment:
-
C# forms and access database
Hello,
my questions may be rudimental for someone- but for me who has now been struggling with this for hours without sleep - it is not.
I completed a time sheet C# form and connected it to access database.
uers selected their name and filled in hours and submitted.
It worked fine.
Now I have to change it for management.
one I have to add a report that is either printed out for each user or displayed - and... -
thank you - will check out book-
so far binding source, binding navigator control, and datagrdiview are only thing I see in books- have run into sql ( search criteria builder) now - maybe that will lead me what I want-
have made a example database with 2 fields and a form with 2 textboxes- just to simplify and understand the process of entering one record from a form to one table in database- because want to limit users view of anyting...Leave a comment:
-
add one record to access database with C#.net form
Hello,
I have an C#.net form with two textboxes bound to access database with two fields in one table.
is it possible have user be able to open form and enter data into two textboxes and hit a button to enter one record into database?
I don't want user to be able to navigate records.
if possible- can you point me in direction of how to start workin on this?
thank you -
-
error handling - using ex in syntax
Hello,
I am using code with exception handling
C# - have visual studio 2008
code:
try{int mysum=Int.Parse (textbox1.text) ;}
catch{messagebo x.show("mistake " + ex.message);}
intellisense does not recognize ex.- is this syntax not correct syntax?
thank you -
Thank you - same method name with different combination of parameters and/or data typesLeave a comment:
-
to overload the method to allow strings can I use a method like:
Code:public static int add( string stingOne, string stringTwo, stringThree) { return (int.Parse(stringOne) + int.Parse(stringTwo) + int.Parse(stringThree) }
Leave a comment:
-
add textbox and button to output to messagebox in C#
Hello, I have a class firstClass
Code:public static int add(int numberOne, int numberTwo) { return (numberOne + numberTwo); }
code for button is:
Code:int total = firstClass.add(int.Parse(textBox1.Text), int.Parse(textBox2.Text)); MessageBox.Show(total.ToString());
Last edited by tlhintoq; Jun 21 '09, 05:55 AM. Reason: [CODE] ... your code here ... [/CODE] tags added -
Code:if (maskedTextBox1.Text.Length < 14) { errorProvider1.SetError(maskedTextBox1, "You must enter a valid telephone number"); }
Last edited by tlhintoq; Jun 15 '09, 11:21 AM. Reason: [CODE] ... your code here ... [/CODE] tags addedLeave a comment:
-
your right i did not communicate problem.
statement works - just not giving results I want
your right its not blank
Now I am going to spend some more time -try to figure it out right
thank youLeave a comment:
-
masked textbox control with error provider control
Hello,
I have a texbox with error provider control:
Code:if(textbox.text.length <=0) { errorprovider1.seterror(textbox,"enter part number"); } else { errorprovider1.seterror(textbox, "");
thank youLast edited by tlhintoq; Jun 14 '09, 07:40 PM. Reason: [CODE] ... your code here ... [/CODE] tags added -
if (textbox1.text. Trim() == string.Empty)
{
ErrorProvider1. Seterror(textbo x1, "Enter your name")
else
{
label1.text = textbox1;
}
am trying this
thank you
not sure if I can do same with radiobuttonsLeave a comment:
-
using errorprovider control if data not entered
Hello,
I have form in C#.
I want to use the errorprovider control to prompt user for data if nothing is entered.
example:
I have textbox1 for user to enter name.
I have radiobuttons for job departments.
I click a button and data displays in labels.
label1.text = textbox1;
if (radiobutton1.c licked)
label3.text = radiobutton1.te xt "\r\n";
if user not enter... -
thank you for knowledge- I was a professional musician for years- and I realized some of the things I learned wrong young- later were problems when I was trying to play on a professonal level.Leave a comment:
-
No activity results to display
Show More
Leave a comment: