A question about the forum-structure to Mr.Rao
Everything is working fine now
I have a option to select a topic by range number from to
and optional a option selecting topics by date-range
it seems it can be only used from inside a defined topic range by number as a sub-filter
or is it possible to start with a defined date for the import
Code: Select all | Expand
IF TRIM(cAuthor) = TRIM(cUser) .or. TRIM(cAuthor) = "*.*" .and. nTSelect = 1 // works !!!!
// MsgAlert( TRIM(cAutor), TRIM(cUser) )
lFound := .T.
ENDIF
IF dDate >= dDateFrom .and. dDate <= dDateTo .and. nTSelect = 2 // date selection ????????????
MsgAlert( TRIM(cAutor), TRIM(cUser) )
lFound := .T.
ENDIF
IF lFound = .T.
cCode := ExtractPrgCode( cCode )
DBAPPEND()
FIELD->TOPICNO := nTopic
FIELD->LINK := TopicNoToURL( nTopic )
FIELD->TOPIC := cTopic
FIELD->AUTHOR := cUser
FIELD->DATE := dDate
FIELD->LIKE := 0
FIELD->CODE := cCode
IF nForum = 1
FIELD->FORUM := "England"
ELSEIF nForum = 2
FIELD->FORUM := "Spain"
ELSEIF nForum = 3
FIELD->FORUM := "Italy"
ELSEIF nForum = 4
FIELD->FORUM := "Germany"
ELSEIF nForum = 5
FIELD->FORUM := "Portugal"
ENDIF
ENDIF
regards
Uwe
