Ask a Question related to Coldfusion Database Access, Design and Development.
-
mated922 #1
Output from Access not string value
Hi,
When I run a query the cfoutput on my page are numbers and not the
string/value in my Access database. I used the lookup function in Access to
select the values in other tables to insert into the current field. I think
this may have something to do with it?
I have not tried yet but I guess I could set variables based on what these
numbers represent from the other tables in the database. I just started using
CF today so Im not really sure but I hope there is a better way than all those
querys!
Cheers,
Edward:confused;
mated922 Guest
-
access CF output from remote servers
:confused; I am building a scheduling application that runs on one server which holds a "community" database. Members of this community can add... -
User Control Output to a String
Hello - Please help, I am having trouble copying the output of a User Control into a string. For example - assume I have defined the... -
execute PHP -> return output to string
Hi I've got a problem and I hope someone can help me: I want a PHP script to call another PHP script, execute it and return its OUTPUT (not... -
"Access Denied" using public static Process Start(string, string);
We are using Network Associates VirusScan to check files uploaded from a web page for viruses. The code below worked fine using .Net 1.1 on... -
Is there a size limit for a receive (output) string parameter?
Hello, I created an ActiveX control that has a member function with two string parameters. The first parameter is basically an SQL statement to... -
mated922 #2
Re: Output from Access not string value
I have been racking my brains and I understand the problem a little better. I
think?
I am building a directory of schools. In the data base I have a main table
with all the information and all of the reoccuring information comes from other
tables.
For example: I have a region table and each region has its own regionID as the
primary key. Now the output that I get is that region ID.
I feel like the problem is only a few key strokes away but I think I might
have tried to jump in with too little experience.
Cheers if you can help me out,
Edward
mated922 Guest
-
OldCFer #3
Re: Output from Access not string value
For example: I have a region table and each region has its own regionID as the
primary key. Now the output that I get is that region ID.
Isn't that what you would expect? You need to clarify the problem a little
better, maybe with
examples.
OldCFer Guest
-
philh #4
Re: Output from Access not string value
Edward, an Access lookup is, as you've discovered, a special animal. What it
displays is not what's actually in your table, but a foreign key to the ID in
the lookup table.
If you're using the region table as a lookup entity for the main table, try a
JOIN query, (DISCLAIMER: the syntax shown below is NOT Access-generated)
SELECT Mytable.whateverfieldyouneed , Regions.Name
FROM Mytable
JOIN Regions on Regions.ID = Mytable.RegionID (or whatever the field is called)
HTH,
philh Guest



Reply With Quote

