Search found 69 matches: lenght

Return to advanced search

Re: Why You Should Stick with DBF or Access Databases for Now

Rick

Could you share how you encript and decript .
What about the lenght of fields in databases, should we reserve more space for a encripted fields ?

Thanks
Philippe
by Jack
Tue Jun 18, 2024 8:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Why You Should Stick with DBF or Access Databases for Now
Replies: 5
Views: 602

Re: hb_base64encode() stays empty

Hi Ruth,

for xHarbour you should send 2 parameters, the first one is the string and second one is the lenght.
Code: Select all  Expand view  RUN
cRaw := memoReady( "yourFile" )
cBase64 := hb_base64encode( cRaw, len( cRaw ) )


this way you will have a string as return.

Let me know if it worked.
by Lailton
Wed May 15, 2024 6:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: hb_base64encode() stays empty
Replies: 10
Views: 1331

Re: COMBOBOX WITH Sort

Hi ,
I had the same problem and solved it by adding blank after items in the array .

I found that all items of the array should have the same lenght .

Strange !!

Philippe
by Jack
Fri Mar 24, 2023 11:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: COMBOBOX WITH Sort
Replies: 2
Views: 266

Re: array browser delete issue

Thanks, artu01.
I tried but then nothing is deleted.
No effect on screen and the lenght of my array remains unchanged.
by Detlef
Fri Mar 11, 2022 7:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: array browser delete issue
Replies: 4
Views: 308

Re: Import/Export from/to CSV files (; separator)

... cdeli ) for i = 1 to len(aFields) cField = (aFields[i]) aAdd( aStru, { cField , "C", 255 , 0 } ) // I insert 255 is the max lenght next dbCreate( cDbf , aStru ) return nil Now the problem is 1) how take the other lines 2) add the record on dbf created
by Silvio.Falconi
Wed Nov 25, 2020 7:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Import/Export from/to CSV files (; separator)
Replies: 16
Views: 2788

Re: Know the size of a font selected

If you look into the aFont : there is no correct size from to font ? Strange...

For the save : it seems that the lenght of aGet[15] is to small to see it.
by Marc Venken
Thu Oct 29, 2020 11:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Know the size of a font selected - Resolved -
Replies: 9
Views: 1543

GET field: how i can block write in the next field?

I note that by default FWH allows you to write in the next get field without stopping if you keep writing.
How can I avoid it?
I would like the user to press enter or mouse click to go to next get field, stopping when lenght exceed the variable's lenght.
Thank you.
by max
Wed Oct 14, 2020 11:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: GET field: how i can block write in the next field?
Replies: 1
Views: 266

Re: Get\Action .. disable the field only

Maybe you can set its lenght to 0?
by MOISES
Tue Apr 14, 2020 4:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Get\Action .. disable the field only
Replies: 4
Views: 715

Re: Preload data for using Xbrouwe EditSource(.T.)

... oRec:SetDefault( "straat", oBrw:cSeek ) oRec:SetDefault( oBrw:SelectedCol():cExpr, oBrw:cSeek )  It also seems that the lenght of the data input is not as long as the fields are. You need to pad the strings to the correct length while assigning.
by nageswaragunupudi
Thu May 02, 2019 2:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Preload data for using Xbrouwe EditSource(.T.)
Replies: 11
Views: 1688

Re: Preload data for using Xbrouwe EditSource(.T.)

... the data that are displayed in the edit dialog will not be saved ? Data that I change saves, but not the predifined data. It also seems that the lenght of the data input is not as long as the fields are. My Code function klantbrowse(oDlg,oDbfklant)   local oDlg1, obrw , nWild:=2 , oSay, ...
by Marc Venken
Wed May 01, 2019 6:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Preload data for using Xbrouwe EditSource(.T.)
Replies: 11
Views: 1688

Re: Mechanism for locking records in a DBF file

... The filesystem allows you to set locks outside the used space by the file. For locking record 1, you put a lock in the byte 1,000,000 + 1 with lenght 1. That allows the file to be read but LOGICALLY set a lock to other users. That position, starting in 1000000 in the sample. is arbitrary, and ...
by Carlos Mora
Sat Apr 20, 2019 5:31 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Mechanism for locking records in a DBF file
Replies: 1
Views: 554

Re: XBROWSE bEditValid bug? updated!

Mr. Rao have you tested my last testprogram?
And a question for this behavoir: The value from ::nDataLen comes from what method? It seems the value are padded to this lenght but i will keep the original lenght!
by byte-one
Tue Feb 12, 2019 11:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE bEditValid bug? updated!
Replies: 5
Views: 1027

Re: Import/Export from/to CSV files (; separator)

... the command that i try each time, but it doesn't work fine with files without spaces. It works fine only if the file is with field fixed ascii (lenght declared for each field), but if the file is without space and doesn't have fixed lenght (standard format CSV), it is not ok. I'll try this syntax ...
by max
Tue Oct 09, 2018 3:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Import/Export from/to CSV files (; separator)
Replies: 16
Views: 2788

Read Com port

... scale connected to a com port . I test sample testcom3.prg and it works fine but it return the information in 2 parts, (2 MsgInfo box) . The total lenght is 18 string . How to return the total 18 strings from the BytesAtPort function ?? Thanks #include "FiveWin.ch" function Main() local ...
by Jack
Wed Sep 26, 2018 9:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Read Com port
Replies: 13
Views: 3075

MariaDB RS AppendBlank (SOLVED)

Hi All, 1. I have a trigger and procedure to check data lenght/data validity of user input, this is working fine. 2. When user encodes data to oRs:field (under appendblank) and fires oRs:Save()... then trigger captures and send message about the insufficient ...
by fraxzi
Fri Sep 07, 2018 3:01 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: MariaDB RS AppendBlank (SOLVED)
Replies: 12
Views: 2053
Next

Return to advanced search