Hi all,
I am working in MS Access 2003. I have a report that opens as a popup and I want the user to be able to print from this view by clicking on a print button. I created a custom toolbar with a print button and set this in the properties box, but the toolbar does not appear when the...
Hi all,
I suspect this is going to be a stupid question, but how do I move the source code created in VB.NET VS 2005 from one location to another? When I just copy the folder of an application to another location, I get a security error. I read a thread on here some time ago that VB.NET...
That worked! Boy, I'm always amazed at the "laying on of hands" ability you guys have! I would swear I'd tried that and it didn't work!
Thanks so much and here's a star!
Hi,
I am creating a front end in vb.net 2005 to open a CR. I need the selection formula to read something like this:
Dim selectionFormula As String = "{GermReadings.TZAmountPaid}= '0'"
This throws an error that reads:
A number is required here
I've tried every sort of combination I can think...
I'll give it a try tomorrow and let you know!
By the way, do you have any idea how to bind comboboxes?
Here's how I bound the text boxes.
Dim oText As TextBox
'Bind the text boxes to the data provider
For Each oText In Me.txtFields
oText.DataMember = "Primary"
Set...
I have a combobox bound to a lookup table. Each selection from the combobox is placed in the textbox and thus stored in the database (I couldn't figure out how to bind the combobox to the DB). The users want to be able to pick more than one selection from the combobox and store ALL of the...
I have a combobox, whose selections fill a textbox that is bound to the database. This works great, except now the users want to be able to "stack" selections from the combobox in the textbox, selection 1 and then selection 2 ,etc. etc. sentence after sentence. I have no idea how to do this...
Hi HarleyQuinn,
I got it. I have no idea exactly what I did, but I just deleted the old stuff and had vb 6.0 add a new form with a class to the project. The code looks exactly the same as what I had before, but it works now. Strange. Thanks for your help anyway.
ribbons
I'm cleaning up some old code that's been handled by several people, so the question I'm about to ask is probably some minor mistake that I'm just overlooking. But, I've been working on this for some time now, and just can't seem to find the error, so I apologize in advance for trivial-ness...
No, there are no rows in the datatable. Is there a simpler way to do this? I first tried the datatable, but thought that direct code would be much neater and easier. Guess I was wrong.
This code above IS supposed to fill one combobox based on the results from another . . .Right??
I think I've thoroughly confused myself now.
I tried changing
"SELECT * FROM LabNumber"
to
sqlString = "SELECT * FROM LabNumber WHERE LabNumber.LotNumber = '" & ComboBox1.Text & "'"
But the second combobox is not filled. Shouldn't a parameterized query come somewhere later in the code...
I've now gotten the following to run, but the labnumbers generated are NOT governed by the choice in Combobox 1. Any ideas?
Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged
Dim sqlString As...
I'm running this code behind a simple form with two comboboxes, ComboBox 1 and Combobox2. I want to see if when the form comes up, ComboBox 1 is filled with company names. If I select a name, ComboBox 2 is filled with lab numbers. Make sense?
When I run this code, the form comes up with...
The comboboxes don't fill. I'm sure it's some simple oversight, but I have been unable to figure out if it is something careless on my part of if I have some functional part of the code wrong.
ribbons
Hi all,
I'm trying to fill combobox 2 with all items that match the selection in combobox 1. I followed a thread from here, coupled with my limited knowledge, but I got lost in this. any suggestions would be appreciated. I hope this is a simple fix:
Public Class Form1
Private Sub...
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.