•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the MS Access and FileMaker Pro section within the Web Development category of DaniWeb, a massive community of 374,178 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,435 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our MS Access and FileMaker Pro advertiser:
Views: 833 | Replies: 0
![]() |
•
•
Join Date: Jan 2008
Posts: 12
Reputation:
Rep Power: 1
Solved Threads: 0
I have 2 forms; one called frmLogin and another called user_info.
On frmLogin I have a text box called USERNAME and a command button. When you click the command button the following code is run:
This Code Works (Or atleast It should)
The code takes what has been typed into to the textbox USERNAME and passess it onto the module LOGIN which has the following code:
This Code Does NotWork
I know this code does not work but I don't know what to do to get it working. I am trying to get it to open the form user_info and display records relating to what has been typed into the textbox USERNAME.
If you have any suggestions please reply.
Thankyou
On frmLogin I have a text box called USERNAME and a command button. When you click the command button the following code is run:
This Code Works (Or atleast It should)
Private Sub Command29_Click()
Dim strUSERNAME As String
Dim strProcess As String
strUSERNAME = Me.USERNAME
strProcess = LOGIN(strUSERNAME)
End SubThe code takes what has been typed into to the textbox USERNAME and passess it onto the module LOGIN which has the following code:
This Code Does NotWork
Public Function LOGIN(strLOGIN As String)
DoCmd.OpenForm "user_info"
DoCmd.FindRecord strLOGIN
End FunctionI know this code does not work but I don't know what to do to get it working. I am trying to get it to open the form user_info and display records relating to what has been typed into the textbox USERNAME.
If you have any suggestions please reply.
Thankyou
Last edited by Jamesharks : Feb 12th, 2008 at 7:31 pm. Reason: mistakes
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb MS Access and FileMaker Pro Marketplace
Similar Threads
Other Threads in the MS Access and FileMaker Pro Forum
- Previous Thread: how to makr columns in ms access
- Next Thread: packaging mde for distribution.


Linear Mode