... 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
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.
... 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.
... 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, ...
... 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 ...
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!
... 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 ...
... 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 ...
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 ...