Search results

  1. Loek

    vbCrLf or vbNewLine not working in dot matrix printer

    The printer is connected by USB and is local without an internet connection. all code is in a form with one commond button to print text line by line
  2. Loek

    vbCrLf or vbNewLine not working in dot matrix printer

    Hi, everybody I have a problem with an epson lx300 + dot matrix printer. The vba vbCrLf code doesn't work when I print text line by line. Have you ever experienced the same thing? I use this code : strLine as string Dim lReturn As Long, lpcWritten As Long, sWrittenData As String strLine...
  3. Loek

    Get Serial Number

    Dear all, I was created a form with two tables and I want get a serial number for each my collections. Table1 say as My Category Table2 say as My Collection In the table1 I have : Id | Category ----------------- 01 | Computer 02 | Religious And in the table 2...
  4. Loek

    Access DB for end users

    how do you give your DB to user..? you can make a form (switchboard) and set it to startup in your db
  5. Loek

    reading field in a subform using vba

    I am sorry. I wasn't careful with your help ( space in ""). Thank you very much. it is very helpful
  6. Loek

    reading field in a subform using vba

    I had try your help, but not worked. I still got like this : 2,000.00 300.00
  7. Loek

    reading field in a subform using vba

    I sorry before. My English not fluently. Let it converting to currency with decimal place. And I get like this : order_id : 1 ---------------- product|price A......... 2,000.00 B......... 300.00 I want get like this : order_id : 1 ---------------- product|price...
  8. Loek

    reading field in a subform using vba

    I sorry before. My English not fluently. Let it converting to currency with decimal place. And I get like this : order_id : 1 ---------------- product|price A......... 2,000.00 B......... 300.00 I want get like this : order_id : 1 ---------------- product|price...
  9. Loek

    reading field in a subform using vba

    Yes, I am. if I remove the ccur function, I will get like this : order_id : 1 --------------- product|price A..........2000 B..........300 if print it by report, nothing problem with converting it to currency (not decimal). But, I was print it line by line using data from form (main form and...
  10. Loek

    reading field in a subform using vba

    Hi..everybody... with the code above I got print line by line like this (for example) : order_id : 1 ---------------- product|price A......... 2,000.00 B......... 300.00 I want get : order_id : 1 ---------------- product|price A......... 2,000 B...
  11. Loek

    reading field in a subform using vba

    thank you... I was fix up my code and working properly. Private Sub cmdPrint_Click() Dim strLine1 As String, strLine2 As String Dim rst As DAO.Recordset Dim lReturn As Long, lpcWritten As Long, sWrittenData As String strLine1 = me![order_id] set rst =...
  12. Loek

    reading field in a subform using vba

    Thank you Banana for your response I was add space, but the same error. I get Run-time error 3131 "Syntax error in FORM clause"
  13. Loek

    reading field in a subform using vba

    I am new in access and I am sorry before. My English not good. I have main form (f_order) with a subform (f_order_detil) and was linked with order_id. I want print line by line like receipt in the mini market or etc. But, my problem is I can't read the data (field) in a subform using VBA...
Back
Top Bottom