You are on page 1of 2

If Accion = 1 Then

nomfichero = App.Path & "\fecha.dat"


Open nomfichero For Input As #1
L = FileLen(nomfichero)
boleta = Input(L, #1)
NumSig = Val(boleta) + 1
Close #1
GoTo finAbrir
Else
LogFile = FreeFile
nomfichero = App.Path & "\fecha.dat"
Open nomfichero For Output As #LogFile
Print #LogFile, Trim(NumSig) 'escribo el numero de ultima factura
Close #LogFile
End If
Begin VB.Label Label4
Caption
=
BeginProperty Font
Name
Size
Charset
Weight
Underline
Italic
Strikethrough
EndProperty
Height
=
Left
=
TabIndex
=
Top
=
Width
=
End
Begin VB.Label Label2
Caption
=
BeginProperty Font
Name
Size
Charset
Weight
Underline
Italic
Strikethrough
EndProperty
Height
=
Left
=
TabIndex
=
Top
=
Width
=
End
Begin VB.Label Label1
Caption
=
BeginProperty Font
Name
Size
Charset
Weight
Underline
Italic

"Cant:"
=
=
=
=
=
=
=

"MS Sans Serif"


8.25
0
700
-1 'True
0 'False
0 'False
255
120
5
2400
495

"Factura del cliente"


=
=
=
=
=
=
=

"Kabel Bk BT"
12
0
700
0 'False
0 'False
0 'False
375
600
2
0
2775
"Cliente:"

=
=
=
=
=
=

"MS Sans Serif"


8.25
0
700
0 'False
0 'False

Strikethrough = 0
EndProperty
Height
= 255
Left
= 120
TabIndex
= 0
Top
= 840
Width
= 735
End
End

'False

You might also like