Ask a Question related to Coldfusion Database Access, Design and Development.
-
quiero mas #1
quick table/SQl question - revisited
Getting this in the result page
CFLanguage_variable error
Search page
<cfquery name="SearchLanguage" datasource="simple">
SELECT Language_name
FROM tslanguage</cfquery>
<input type="submit" name="Submit" value="Submit">
<select name="select">
<cfoutput query="SearchLanguage">
<option value="#SearchLanguage.Language_name#" <cfif
(isDefined("SearchLanguage.Language_name") AND SearchLanguage.Language_name EQ
SearchLanguage.Language_name)>selected</cfif>>#SearchLanguage.Language_name#</op
tion>
</cfoutput> </select>
</form>
Result Page
<cfquery name="gethospital" datasource="simple">
select a.Hospital_Name, a.English, a.Russian
from tsHosptial a, tsLanguage b, tsLbyH c
where a.Hosptial_ID = c.Hospital_ID
and b.Language_ID=c.Language_ID
abd b.Language_Name=#cflanguage_variable#
</cfquery>
quiero mas Guest
-
quick table/SQl question
HI I have a question Three Tables 1.tsHospital fields Hospital_ID Hospital_Name English Russian #English and Russian are check fields... -
very quick question
In my database a field is designated as 0 or -1 . When i make my form how do i set up the drop down menu so that the user chooses yes or no and... -
Quick CSS question
Hi, I have a css file that I used when building my template. Now that I'm building additional pages from the template, do I edit the same css file... -
quick MX question....
how do you get rid of that window on the right where it says 'color swatches', 'components', etc.. it really bothers me, it makes the working area... -
QUICK SSA QUESTION
AIXers, I'm looking for a quicker way to determine the physical locations of ssa drives in a SSA drawer w/o having to use diag/ssa service aides... -
Dan Bracuk #2
Re: quick table/SQl question - revisited
Looks like you are trying to have every language selected in your cfselect.
Dan Bracuk Guest
-
quiero mas #3
Re: quick table/SQl question - revisited
Could it be something to do with my tables?
Language_ID Language_name
1 ???????
2 ???????
Hospital_ID Hospital_Name English Russian
1 ????? Yes Yes
2 ????? Yes No
3 ????? Yes Yes
Hospital_ID Language_ID
1 1
1 2
2 1
3 2
3 1
quiero mas Guest
-
Dan Bracuk #4
Re: quick table/SQl question - revisited
No, it has something to do with the way you are deciding which option to have selected in your select control. It looks like every one will qualify.
Dan Bracuk Guest



Reply With Quote

