mirror of
https://github.com/KeymonSoft/ADM.git
synced 2026-04-19 12:19:23 +00:00
- VERSION 5.10.03
- Se cambio com ose enviaban las imagenes, antes blob, ahora solo nombre. - Se agregaron 2 columnas a FOTOINICIAL para poner el nombre de las fotos.
This commit is contained in:
21
B4A/Subs.bas
21
B4A/Subs.bas
@@ -665,10 +665,12 @@ End Sub
|
||||
'Regresa el almacen actual de la base de datos.
|
||||
Sub traeAlmacen As String 'ignore
|
||||
Private c As Cursor
|
||||
Private a As String
|
||||
c=B4XPages.MainPage.skmt.ExecQuery("select ID_ALMACEN from CAT_ALMACEN")
|
||||
c.Position = 0
|
||||
a = C.GetString("ID_ALMACEN")
|
||||
Private a As String = 0
|
||||
c=B4XPages.MainPage.skmt.ExecQuery("select ID_ALMACEN from CAT_ALMACEN")
|
||||
If c.RowCount > 0 Then
|
||||
c.Position = 0
|
||||
a = c.GetString("ID_ALMACEN")
|
||||
End If
|
||||
c.Close
|
||||
Return a
|
||||
End Sub
|
||||
@@ -1697,4 +1699,15 @@ Sub mandaPendientes
|
||||
End If
|
||||
c.Close
|
||||
End If
|
||||
End Sub
|
||||
|
||||
' Función de ayuda para crear el objeto MultipartFileData de forma más limpia
|
||||
Sub CreateMultipartFileData(Dir As String, FileName As String, KeyName As String, ContentType As String) As MultipartFileData
|
||||
Dim mfd As MultipartFileData
|
||||
mfd.Initialize
|
||||
mfd.Dir = Dir
|
||||
mfd.FileName = FileName
|
||||
mfd.KeyName = KeyName
|
||||
mfd.ContentType = ContentType
|
||||
Return mfd
|
||||
End Sub
|
||||
Reference in New Issue
Block a user