var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Finding records from control
I have a basic login system working where usernames and passwords are checked against the Employee table in SQL. This happend on Form1 and if username/password accepted, the user progresses to Form2
On Form2, i have a grid which i am trying to find all records in Tables Details where the username was passed in txtusername.text textbox in Form1. I am trying to input
Select * from Details Inner Join Employee On Employee.Employeeid = Details.Employeeid where employee.uname = 'txtusername.text'
but having no luck. How can i find records that links to the txtusername control. Any help is much appreciated.
Stuff between single quotes is treated as literal text.
I doubt you have a username of "txtusername.text"!
Create a sproc and pass txtusername.text as a parameter
When i create txtusername as a sproc, i cannot save the paramater then in a view i am trying to create. I'm not getting anywhere