Ask a Question related to Coldfusion Database Access, Design and Development.
-
Johnny #1
how to go to a specific record
[I posted this over in general_discussion, but this might be a better
group for it.]
DB is mySQL
I'm trying to display a schedule of events, and only want to display
dates that had/have events scheduled.
Considerations:
1) not all dates have events
2) The first date to display should be the most recent date before
"today" that had any events scheduled.
3) If there are events "today", I want to display today's events and the
next date that has events scheduled.
4) If there are no events today, I want to display the next two dates
that have events scheduled.
I've done a SELECT DISTINCT (sorted by date) of my schedule to pull all
dates that had any events scheduled. Now what? I know I need to query
my schedule to pull the events for the dates I need, but how do I
establish the low & high dates?
Suppose I've done a SELECT DISTINCT that pulled five dates that have
data:
2005-08-01
2005-08-02
2005-08-03
2005-08-06
2005-08-08
Suppose MyDate = 2005-08-06
I want to set MinDate to the previous date that had an event (2005-08-
03) and Max date to the highest of the next two dates that have events
(2005-08-08).
It looks like mysql_data_seek might help me, but I don't know how to use
it in CF (fairly new to CF, just done the basics).
Thanks,
John
Johnny Guest
-
Extracting specific record from XML
I'v created a SWF movie that imports an XML file and gets a variable from the ASP page that it's in. In the SWF, how do I display the XML record... -
Move to specific record
hii peeps, what i want to knowe is.. where i can find a extension fore: move to specifi record ore it exist..? greets Ej. -
Showing a specific record from a recordset
Hi, I am trying to find a way of displaying a specific record (the latest one entered by a user) from a recordset as opposed all of the records or... -
PHP extension Move to specific record
Hi there, I'm searching for the move to specific record extension for PHP. Does anybody know where to find it? If so... please let me know ... -
how do I go to specific record in preview to print it
dev 6, xplat. On a form layout I have a print button. The user is browsing all records and finds one they want to print. I have created a more... -
-
Johnny #3
Re: how to go to a specific record
> D?j? vu?
Wasn't sure if this was a more appropriate forum. Does .database_access
mean accessing databases, or MS Access?
Anyway, I've made progress (but am stuck again) and continued the thread
in the general_discussion NG.
Thanks,
John
Johnny Guest



Reply With Quote

