I have this code when a txtBox loses its focus.
Private Sub txtSearch_LostFocus()
Dim sSQL As String
Set cn = New ADODB.Connection
cn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\stock.mdb"
cn.Open
Set rs = New ADODB.Recordset 'adds to quantity...
I'm trying to add 2 fields from a database using SQL. They are both numbers and once added together and stored in another field, the result will be displayed in a text box. However, I have tried every permutation of fields and adding I can think of (apart from the correct one obviously) and I...
I'm trying to build an app for work. It's going to use access as the db as it's the easiest for me. I need to have a simple front end.
So here's my dilemma. I am not, and no-one in work is, an administrator and so unable to install apps onto work PCs. I want to be able to copy and paste the app...
Not sure if this is a PHP question or a XML question, so I'll ask it here first.
I have a database in mysql and I am making a gallery from it. I found a 'flash' gallery that works from a xml file. I don't want to keep amending my files as and when I add an image, so I'm trying to make it...
I hope some of you out there can shed some light on a problem for me. Hopefully this won't be as stupidly easy as my last 'problem'.
So, I have a dynamically created gallery and I decided to incorporate lightbox 2.0 into it. This is the section that creates the gallery.
<td><a href="<?php echo...
I've been following a tutorial and adapting it to my own needs. I want to display the last article I entered but knowing the code is a bit confusing. Here's what I have at the moment.
// connect to the database
$conn = dbConnect('admin');
// check for article_id in query string
if...
On my form I have a textbox and a button. The textbox searches my database and returns a true or false value.(Yes it is in the database or No it's not) This works well. The button is a button and not submit. There is an 'onclick' value which uses another page to do the searching and returns the...
I have a form on my page which has a button. The button inserts values from textboxes into the db. Easy peasy. I would like to have 2 buttons. One that inserts the values and simply returns to the same page so the user can add more values. The second button adds the values and moves to the next...
I have a club site that has a membership system. I would like guests to search for usernames to see if they are registered.(Only to say username is registered or not, no other details) It uses ajax (hence why this post is in this thread) to say whether or not username is regsitered. It all...
I need to pick out all the records from my database where the customer has their checkbox state as checked. I have this so far...
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnHome.Click
Dim Counter As Integer = 0
Dim...
Don't you just hate it when the simplest things seem the most difficult objects.
I have 2 textboxes on my form. I want to add 5 to the second textbox when a certain value is first textbox. eg
Private Sub TextBox1_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles...
The tips of my fingers now have blisters from googling the answers. However, I have sorted 90% of what's going on. Just need that final 10% to get XP installed on the sata drive.
I installed a floppy drive just for the purpose of installing XP on a new sata drive. I copied the drivers to the...
I'm making a membership site where none logged in users can view members details but obviously can't update them. I've basically try using the 'Beginning PHP' example by Wrox. It does all but one thing. My members are updated on the main page when another user registers. When I click the member...
I've done some searching but can't place the answer to my problem.
I've created a website for a local group. They create accounts and an log in, update profiles and log out etc. I want to allow guest visitors to view members profiles but I cannot work out how to do this. If I use a grid view or...
I'm using visual web developer for a website project I'm creating to learn asp.net 2.0. The treeview (and subsequent sitemappath) utilise a XML file for navigation. My database has a list of members which is constantly being updated. I would like my treeview to be dynamically updated as new...
I have 10 checkboxes on a form. I want to show how many checkboxes are checked on the form.(label or textbox etc)
What is the best way to show how many are checked?
How do I add them up?
Cheers...
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.