smartrider
Programmer
Hello ,
I have two modules in two different Templates and I am trying to get a value from one template to another. Can anyone plz please tell me what am I doing wrong.
I have the code here :
In templare 1 Module the code is :
Public Sub LoadAuthor()
frmAuthorDB.cmdAdd.Visible = False
frmAuthorDB.cmdDelete.Visible = False
frmAuthorDB.cmdEdit.Visible = False
frmAuthorDB.cmdOk.Visible = False
frmAuthorDB.cmdSelect.Visible = True
DisableChkBoxes
frmAuthorDB.Show
fillfrom = fillfromname
Unload frmAuthorDB
End Sub
in Template Two Module :
Public Sub cmdNameAuthor_Click()
Application.Run "LoadAuthor"
FillFrom = txtFromName.Text
End Sub
I am trying to get the value of FillFrom from Template one to Template 2
CAN ANYONE HELP ME OUT HERE - PLZ
THANKS
I have two modules in two different Templates and I am trying to get a value from one template to another. Can anyone plz please tell me what am I doing wrong.
I have the code here :
In templare 1 Module the code is :
Public Sub LoadAuthor()
frmAuthorDB.cmdAdd.Visible = False
frmAuthorDB.cmdDelete.Visible = False
frmAuthorDB.cmdEdit.Visible = False
frmAuthorDB.cmdOk.Visible = False
frmAuthorDB.cmdSelect.Visible = True
DisableChkBoxes
frmAuthorDB.Show
fillfrom = fillfromname
Unload frmAuthorDB
End Sub
in Template Two Module :
Public Sub cmdNameAuthor_Click()
Application.Run "LoadAuthor"
FillFrom = txtFromName.Text
End Sub
I am trying to get the value of FillFrom from Template one to Template 2
CAN ANYONE HELP ME OUT HERE - PLZ
THANKS