Ask a Question related to Coldfusion Database Access, Design and Development.
-
jorgepino #1
Reading from Progress db
I need to read from a progress db put i ma having problems reading fields with special chars like in Element1% and flux-ecd (% and -)
how should i read them
thanks
jorgepino Guest
-
no progress bar on IE7
hello; when I use javascript to: document.getElementById( "my_shockwave_container_div").innerHTML = my_object_embed_string the progress bar... -
ADM progress bar
Hello! I have tried to create an ADM progress bar (kADMProgressBarType) in my plugin. However, it doesn't seem to be a way to update it. Anyone... -
progress
I am getting a "little" frustrated with a guy here that keeps insisting Informix is crap, and Progress is the best database in the world. Anyone... -
Progress Bar help, please
Greetings.. i'm a Flash newbie using Flash MX. I need to do a "progress bar" and I don't know where to start. I have a swf file ready to go on the... -
progress bar GO AWAY!
I'm using the 2004pro component progress bar and i'm using it with the scrollpane inside my movie. it works just fine except for the fact that after... -
jorgepino #2
Reading from Progress db
I need to read from a progress db put i ma having problems reading fields named with special chars like in Element1% and flux-ecd (% and -)
how should i read them
thanks
jorgepino Guest
-
mxstu #3
Re: Reading from Progress db
I don't know about Progress, but in most databases you can use square brackets
[ ] to escape the column name in your CFQUERY. You could then use array
syntax in your cfoutput. There may be other methods as well.
<cfquery name="test" datasource="#DSN#">
SELECT ID, [Element1%]
FROM yourTableName
</cfquery>
<cfoutput query="test">
#test["ID"][CurrentRow]# | #test["Element1%"][CurrentRow]#<br>
</cfoutput>
mxstu Guest
-
jorgepino #4
Re: Reading from Progress db
thanks I tryed the [] with no luck i keep getting this error
[ODBC PROGRESS driver][PROGRESS]Syntax error (7587)
any idea or direction on where i could find some answeres
thanks
jorgepino Guest
-
mxstu #5
Re: Reading from Progress db
I wish I knew the correct character(s) for Progress db with ODBC... maybe back
tic's? `Element1%`
If not, you might want to try looking in the ODBC documentation or maybe
posting the question to the [url]www.progress.com[/url] forums? If you do find the answer,
definitely to post it here as well :-)
mxstu Guest
-
jorgepino #6
Re: Reading from Progress db
thanks
I got was able to get it to work
it was simple but painful
thanks all
<cfquery name="test" datasource="SMDcustom" maxrows="100">
SELECT Element1,"Element1%" as elem1prcnt //// i had to user "" and to
assigned it to some thing else
FROM PUB.PartMaster //// must use
the PUB.
</cfquery>
jorgepino Guest
-



Reply With Quote

