Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I declare specific variables in DreamWeaver 1

Status
Not open for further replies.

TonyU

Technical User
Joined
Feb 14, 2001
Messages
1,317
Location
US

Can someone please guide me as to what the proper syntax is to pull varialbes please. thanks

SELECT *
FROM apple
WHERE username AND password = VARIABLES FROM FORM1
[tt]"A Successful man is one who can build a firm foundation with the bricks that other throw at him"[/tt]
8-)
 
Hi Tony,

yes they are Session Variables, which you can create on databindings. Then on the recordset where you want it to filter out by, if you click Advanced you will see the variables. in there you would put something like

MMColParam next box over xyz, then last box over Session("MM_Username") or whatever your session variable was declared as. You can declare another one also from a query string like "MMcolparam1, 1, Request.QueryString("UserID")

Then up top again
SELECT *
FROM apple
WHERE username = MMColParam AND UserID = 'MMColParam1' then filter by URL (for the userID) "If you feel a post has been helpful to you, click on the link at the bottom of their post to cast a vote for "TipMaster Of The Week". You don't need to be the one who asked the question to vote"

Stuart
 

Thanks for the help Stuart.
[tt]"A Successful man is one who can build a firm foundation with the bricks that other throw at him"[/tt]
8-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top