CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Parsing Memo Field

Print topic Send  topic

Author Message
ekendricks

Posts: 34
Posted: 08/13/2005, 5:49 PM

Using Access 2k - CCS - ASP

I have a database with: Table "ezEvent" , Field "Misc", Field Type "Memo". This table was done by someone else, and the misc field is used to hold data for 15 different variables. What I need to do is, build record grids, reports, etc, that returns records that match info in -say- position #11, some other position or a combination of positions.

I have tried "Select * from ezEvent WHERE Misc like '*|*|*|*|*|*|*|*|*|*|<PatientID>|*'"

Can someone shed some light on if and how this can be done. If you're kind enough to assist, please be specific and detailed, as I'm totally lost here.

Thanks

Ernest
View profile  Send private message
peterr


Posts: 5971
Posted: 08/15/2005, 12:04 AM

You may need to extract some SQL samples from the other application that this database was used with. Or at least create and test some SQL statement directly against the database, without using CCS.
Once you know that you have a working SQL then you can apply it within CCS.

Assuming that your above SQL is working against the database (outside of CCS) then I suspect that in CCS it would need to be adjusted like this:
"Select * from ezEvent WHERE Misc like '%|%|%|%|%|%|%|%|%|%|{PatientID}|%'"
Then you'd need to create a parameter called "PatientID" and specify if its value should be taken from an URL/search parameter, session, etc.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.