Hi there!
I'm new in coding a vb in ms access and I seemed to be lost.
my problem is I want to pass a value from FormA to FormB using a textbox, cmdButton and label control I seemed to get an error in access 2000.
hereis the code:
in Form A I have a txtLogin and I put this code in the Control Source:
=[FormA].[Forms]![lblName].[Caption]
then on FormB I have a lblName and I put this code:
=[FormB].[Forms]![txtLogin].[Value]
when the cmdButton is clicked the value of the txtLogin will be transfered to
lblName. unfortunately I'm missing something here :( can somebody help me and show me how to work on this functions!
thanks!
I'm new in coding a vb in ms access and I seemed to be lost.
my problem is I want to pass a value from FormA to FormB using a textbox, cmdButton and label control I seemed to get an error in access 2000.
hereis the code:
in Form A I have a txtLogin and I put this code in the Control Source:
=[FormA].[Forms]![lblName].[Caption]
then on FormB I have a lblName and I put this code:
=[FormB].[Forms]![txtLogin].[Value]
when the cmdButton is clicked the value of the txtLogin will be transfered to
lblName. unfortunately I'm missing something here :( can somebody help me and show me how to work on this functions!
thanks!
Comment