Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. ribbons

    How to print report from report view

    Nope. I can't get a shortcut menu to show in the preview window. Any other ideas? ribbons
  2. ribbons

    How to print report from report view

    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...
  3. ribbons

    How do I move source code for VB.NET

    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...
  4. ribbons

    Combobox feeding text box help

    That worked great! Thanks!
  5. ribbons

    Selection formula question

    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!
  6. ribbons

    Selection formula question

    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...
  7. ribbons

    Combobox feeding text box help

    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...
  8. ribbons

    Combobox feeding text box help

    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...
  9. ribbons

    Combobox feeding text box help

    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...
  10. ribbons

    Help finding undefined variable error

    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
  11. ribbons

    Help finding undefined variable error

    It is my understanding that "DataMembers" are all the objects that contain data, such as textboxes, etc. ribbons
  12. ribbons

    Help finding undefined variable error

    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...
  13. ribbons

    Sourcing ComboBox 2 from combobox 1

    What does the "@" sign mean in code such as this?
  14. ribbons

    Sourcing ComboBox 2 from combobox 1

    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??
  15. ribbons

    Connecting to access database

    Can you post the code you're presently using?
  16. ribbons

    Sourcing ComboBox 2 from combobox 1

    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...
  17. ribbons

    Sourcing ComboBox 2 from combobox 1

    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...
  18. ribbons

    Sourcing ComboBox 2 from combobox 1

    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...
  19. ribbons

    Sourcing ComboBox 2 from combobox 1

    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
  20. ribbons

    Sourcing ComboBox 2 from combobox 1

    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...

Part and Inventory Search

Back
Top