ms-access-2000

Send Raw Data to ZPL Printer using Visual Basic (MS Access 2000)

白昼怎懂夜的黑 提交于 2019-12-02 10:22:30
This is all that I can find, none of them work. Option Compare Database Option Explicit Private Type DOCINFO pDocName As String pOutputFile As String pDatatype As String End Type Private Declare Function ClosePrinter Lib "winspool.drv" (ByVal _ hPrinter As Long) As Long Private Declare Function EndDocPrinter Lib "winspool.drv" (ByVal _ hPrinter As Long) As Long Private Declare Function EndPagePrinter Lib "winspool.drv" (ByVal _ hPrinter As Long) As Long Private Declare Function OpenPrinter Lib "winspool.drv" Alias _ "OpenPrinterA" (ByVal pPrinterName As String, phPrinter As Long, _ ByVal

Global variable loses its value

做~自己de王妃 提交于 2019-12-01 16:21:18
On this Access form I am working on I have a global variable that take its value from another form on its Form_Load event. For some reason unknown to me the variable "loses its value" (becomes = "") after some time elapses or some event occurs. I have not been able to notice anything in particular that triggers this behaviour. Are global variables reset after some time of "inactivity" on the form ? Here is how I set the global variables I am talking about: Private Sub Form_Load() '... Set prev_form = Form_Identification.Form PasswordSybase = prev_form.Password.Value & vbNullString UserSybase =

Global variable loses its value

核能气质少年 提交于 2019-12-01 15:21:50
问题 On this Access form I am working on I have a global variable that take its value from another form on its Form_Load event. For some reason unknown to me the variable "loses its value" (becomes = "") after some time elapses or some event occurs. I have not been able to notice anything in particular that triggers this behaviour. Are global variables reset after some time of "inactivity" on the form ? Here is how I set the global variables I am talking about: Private Sub Form_Load() '... Set