Wow...
First you have to identify...
https://harbour.fourtech.es/modharbour_samples/genesis/index.prg?views:exec:4
@Sergey, I have used submitting form here with POST method, i don't know why it doesn't work. Do you know why? And how to solve that? – Jiangong SUN Dec 17 '09 at 10:14
@sergey, so i need to use ajax? Actually, i'm familliar with that. – Jiangong SUN Dec 18 '09 at 10:08
Actually, I have used your method in the past one level select box. But now i have made a three-chained select box, so i can't use your method. – Jiangong SUN Dec 18 '09 at 10:17
At this point: Yes, you need to use AJAX technology. If you have troubles with realization, I think I can help. – Sergey Kuznetsov Dec 18 '09 at 17:50
2
@MadaraUchiha The OP already used mysql_ functions; it wouldn't be the goal of answering this question with a complete rewrite. – Ja͢ck Oct 17 '12 at 4:14
function Main()
local hPairs := AP_PostPairs()
USE (your DBF) SHARED NEW
APPEND BLANK
if RLock()
FieldPut( FieldPos( "title" ), hb_UrlDecode( hPairs[ "title" ] ) )
FieldPut( FieldPos( "Abreise" ), hb_UrlDecode( hPairs[ "Abreise" ] ) )
FieldPut( FieldPos( "zimmer_quantity" ), hb_UrlDecode( hPairs[ "zimmer_quantity" ] ) )
FieldPut( FieldPos( hb_UrlDecode( "zimmer%5Berwachsene%5D%5B%5D" ) ), hb_UrlDecode( hPairs[ "zimmer%5Berwachsene%5D%5B%5D" ] ) )
FieldPut( FieldPos( hb_UrlDecode( "zimmer%5Bkinder%5D%5B%5D" ) ), hb_UrlDecode( hPairs[ "zimmer%5Bkinder%5D%5B%5D" ] ) )
DbUnLock()
endif
USE
return nil
error: Open error
called from: GETERRORINFO, line: 106
called from: DOBREAK, line: 117
called from: (b)MAIN, line: 23
called from: DBUSEAREA, line: 0
called from: IDENTIFY, line: 299
called from: LOGIN, line: 256
called from: CONTROLLER, line: 124
called from: MAIN, line: 10
called from: HB_HRBDO, line: 0
called from: EXECUTE, line: 84
called from: MAIN, line: 34
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 50 guests