Ask a Question related to Coldfusion Database Access, Design and Development.
-
Mike_x27 #1
Getting Started with Access Lookup Wizard Fields
Hi There,
I have an Access database with 2 tables.
One Table is used to store nothing but Names.
My goal is build a simple database to track information regarding assignments
given to our interns.
I have it working in Access and wish to convert it cold fusion.
Most of my fields are simple text fields and check boxes - no problem there.
Right now I am stuggling on how to display data in an access Lookup Wizard
Field in an CFOUTPUT.
Instead of displaying the name of the intern I want displayed, I am only
seeing a number (I think It is the Primary Id of field of the record int the
Names Table.
How can I tell CFOUTPUT to display the text name of the inten instead of its
primary key?
Here is my simple Query:
<cfquery name="Recordset1" datasource=#MM_Interns_dsn_DSN#
username=#MM_Interns_dsn_USERNAME# password=#MM_Interns_dsn_PASSWORD#>
SELECT * FROM intern_data
</cfquery>
<cfoutput query="Recordset1">
#Recordset1.Intern#<br>
</cfoutput>
Here #Recordset1.Intern# is displaying a number ex. "2"
I want it to display data, examle "Smith, John"
Thanks!:confused;
Mike_x27 Guest
-
How can I set the default font for fields in Forms Wizard?
I know that I can right click on a form field, and set the format for future fields based on that field's appearance, but when I run the Forms Wizard... -
ASP with Access: Trouble with lookup columns.
<< The only problem now is one of these columns is is used as a URL parameter on the site and It's not bringing in the relevant info that... -
Lookup fields
I have a field in the client database called userid, when i put a number in this field it checks the internet database for that number. If that... -
Finding lookup fields in MySQL
I've got a lookup table for a lookup table and can't work out the SQL to do a search. Can anyone help? As an example, consider the following: ... -
Access 97 lookup-table problem
Sounds as if you need a numerical key that is unique to each country, which would be the field relating back to the main table -- Kevin Hill... -
paross1 #2
Re: Getting Started with Access Lookup Wizard Fields
Use the column for the intern name from the intern_data table, whatever that
is. If you want to get an idea of what your query is returning, replace your
CFOUTPUT with a CFDUMP to temporarily see all of the columns and rows returned.
<CFDUMP var=#Recordset1#>
Phil
paross1 Guest



Reply With Quote

