I don't know what kind of users you have, but this is not the clearest solution, I think: let the user choose the file that will be indexed / displayed is not good solution
If you have more indexes then make for each button, one for the key, one for the name, one for the address, city, price, something third
STATIC PROCEDURE Pre_SetNewIndex( cDBF )
BEGIN SEQUENCE
SET INDEX TO &cRet // here is my Problem
lRet := .T.
END SEQUENCE
ERRORBLOCK( bError )
IF lRet = .F.
MsgInfo( "Error set Index TO " + CRLF + cRet )
ELSE
thx for Answer
my Problem is before ELSE
as my Picture show i got a Error so i does not come to ELSE
it will Crash without BEGIN SEQUENCE but Errorlog.HTM does not tell me "why"
dragancesu wrote: ↑Mon Feb 03, 2020 9:31 am
I don't know what kind of users you have, but this is not the clearest solution, I think: let the user choose the file that will be indexed / displayed is not good solution
If you have more indexes then make for each button, one for the key, one for the name, one for the address, city, price, something third
i agree and understand but "this" is not a "User-Tool"
DBF Part is more like DBU where you get same List of Index.
also "MODI STRU" (under construction) is not for User.
F4 is only for Admin who know what he is doing.
p.s. i have to search but i think a have a Modul for CLICK to "identify" NTX Indexkey without SET INDEX
AUGE_OHR wrote: ↑Mon Feb 03, 2020 9:33 am
hi,
...
my Problem is before ELSE
as my Picture show i got a Error so i does not come to ELSE
it will Crash without BEGIN SEQUENCE but Errorlog.HTM does not tell me "why"