Search results for query: *

  1. M

    I do not know when these variables are emptying.

    Ah... Thanks, Paszt. That was just what I was looking for. :)
  2. M

    I do not know when these variables are emptying.

    Okay. Now I'm trying something a little different. Instead of using a friend sub routine, I've defined a public property on Form1. Public Property GetPNumbers() As Object Get Return Me.strPNumbers End Get Set(ByVal Value As Object) Me.strPNumbers = Value End Set End Property Form3 calls to...
  3. M

    I do not know when these variables are emptying.

    Alright, Here is the situation: I have a main form (Form1 (Yes, I know the naming convention for the forms are horrible.)). This Form has two fields filled out and once those fields are filled by the user, the main form makes a call to another form (Form3). This form has several text boxes...
  4. M

    SELECT statement returning 0 Rows Incorrectly

    First, that's an interesting way of dealing with the datatype. I hadn't thought of that. Cool idea. Second, that story made me laugh. That's hysterical. You better get your friend up to date. Who knows where else your friend might be thinking the computer will understand implicitly what to...
  5. M

    Need to print to label printer with formatted text.

    Whole Issue Resolved! David, Thank you very much for your help with this problem. You were very awesome sticking with me through all of my silly questions and issues. I have been able to take care of everything that related to this problem now. I did a lot of the formatting manually in the...
  6. M

    Need to print to label printer with formatted text.

    I actually got it fixed. I don't know how. This is what my code looks like now: Dim crMargins As New CrystalDecisions.Shared.PageMargins(23, 4, 394, 225) Dim rpt1 As New CrystalReport1 rpt1.SetParameterValue("MfgLotNum", strMfgLotNum) rpt1.SetParameterValue("MixLotNum", strMixLotNum)...
  7. M

    Need to print to label printer with formatted text.

    In the viewer it looks near perfect. And it prints out almost perfectly from the viewer. What does it mean? Why does it not print correctly from the code and the .PrintToPrinter function? Also, how can I print from the viewer programmatically with no input from the user? This interface I'm...
  8. M

    Need to print to label printer with formatted text.

    No matter where I put the text (details, page header, report header), it always prints to the same spot on the label. I did try some test text in Word and when I scaled the paper size down to the correct size, everything worked just fine. Text showed up where it should and everything. It seems...
  9. M

    SELECT statement returning 0 Rows Incorrectly

    Resolved! This issue has been resolved. Initially, my table did not actually possess any rows. When I looked at the table, I only saw the automatically created row with the default value in the table. Once I manually created a new row, everything was fine.
  10. M

    Need to print to label printer with formatted text.

    So, that whole Designer->Printer Setup thing. Amazing. I feel really dumb for not using that first. However, my first piece of data is in the Page Header and it still shows up about 3/4 of the way down the label. Why? The margins are now set correctly and the paper size is correct.
  11. M

    Need to print to label printer with formatted text.

    And this is what I was testing with Crystal Reports. So far, It prints out the one parameter in landscape format on the label, except the last character is completely cut off and the parameter is about 3/4 down the page (in respect to landscape orientation). I have tried to set my own margins to...
  12. M

    Need to print to label printer with formatted text.

    What do you mean? Do I need a Print Dialog? I am setting all of the printer settings in code.
  13. M

    Need to print to label printer with formatted text.

    Still Having Trouble... Okay, so I have tried printing using the DrawString command from the PrintDocument class and what not. Now, I can get paper to come out of the label printer. I can not, however, get anything to print. I even tried telling it to simply print "Hello World". That did not...
  14. M

    SELECT statement returning 0 Rows Incorrectly

    That's what I figured. ::sighs:: Here is the part of the sub routine that deals with this datatable in the database: Dim lngDummy As Long ' A dummy number only used to later be converted into a string Dim AccessConn As New OleDb.OleDbConnection(MYACCESSCONN) Dim AccessAdapter As New...
  15. M

    SELECT statement returning 0 Rows Incorrectly

    Hello everyone, I have an odd situation: I have a data table in a database with one column and only one row. This table is supposed to stay at the size of one row and one column. When I use the below SELECT statement on this table, I get no rows returned. Why? "SELECT * FROM...
  16. M

    Need to print to label printer with formatted text.

    Okay. So, I have two very plausible options here. Thank you both, fellas for helping me with this. :) :)
  17. M

    Need to print to label printer with formatted text.

    JohnH, Wait...That's how you define a font?! The information I had found regarding that was so confusing and didn't seem to be applicable to my situation that I couldn't figure it out. Holy cow, John, that is exactly what I was looking for! You took what I had been pouring over yesterday and...
  18. M

    Need to print to label printer with formatted text.

    I know, I know. It's only been an hour. But so far, I am curious, can I use Crystal Reports to generate a report based on data in the fields of my form, rather than the data in a database? Also, when I try to use a wizard to generate a Crystal Report, the table's come out all funny and I can't...
  19. M

    Need to print to label printer with formatted text.

    Okay. I have never used Crystal Reports so I shall begin researching today. Thanks, David. :)
  20. M

    How do I add a counter to an existing field?

    You bring up a good point about the possibility of good data actually screwing with the lost lot data. However, I have hopefully avoided that issue with good data being saved as xxxxxx-xxx-x and the lost lot data being saved as 000000000001 instead. Hopefully anyways. ;) But you are right. If...
Back
Top