topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
conversion al formato UTF8 | Hi,
perhaps this helps:
<!-- m --><a class="postlink" href="http://www.nabble.com/Re:-R:-Future-p13293566.html">http://www.nabble.com/Re:-R:-Future-p13293566.html</a><!-- m -->
<!-- m --><a class="postlink" href="http://www.hmgextended.com/files/CONTRIB/UnicodeConvert.prg">http://www.hmgextended.com/files/CONTRI ...... |
conversion al formato UTF8 | pudiste solucionar el problema con los caracteres especiales en utf-8, tengo el mismo problema |
conversion of a string | When I download from Excel into dbf I save on a field a string of name of Teachers
when I have to convert to another archive, I break the surname and name and check if there is a comma
[b:1i7094op]sample [/b:1i7094op]
[img:1i7094op]https://i.postimg.cc/KYBBv3PN/ff.png[/img:1i7094op]
I state the list i... |
conversion of a string | Dear Silvio,
Search for "," only, no spaces |
conversion of a string | Silvio,
You can preprocess the string to remove unwanted characters.
StrTran()
This is a Clipper/Harbour function. See the Clipper Reference Guide here:
[url:v3v3wnbe]https://harbour.github.io/doc/clc53.html[/url:v3v3wnbe]
Note that you can look for a substring and do a replace with another string ... |
conversione dal VB 6 | sto cercando qualcuno che sappia cone convertire un semplice prg dal vb al fwh
mi potete contattare grazie
<!-- e --><a href="mailto:silvio.falconi@gmail.com">silvio.falconi@gmail.com</a><!-- e --> |
conversione dal clipper 87 | Come potrei tradurre questo codice in fwh, usando tdatabase ?
probabilmente in clipper 87 non si usavano ancora i cdx e quindi facevamo tutto in sequelziale
e quindi con il comando locate for, vi ricordate qualcosa ?
[code=fw:34pmogbl]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> &nb... |
conversione degli items di un combobox | Caro Emg ho visto la tua risposta sull'altro forum
il mio problema è semplice
In automatico con una mia funzione specifica quando apro un archiviomi carico il testo dell'index di questo archivio cioè "per nome", "per cognome" caricandolo in un array e con il combobox potevo far funzionare gli items dello stesso po... |
conversione degli items di un combobox | Francamente no, non l'ho capito. Probabilmente perché non conosco l'xBrowse. Ma il mio esempio c'entra qualcosa con il tuo problema?
EMG |
conversione degli items di un combobox | no non centra il xbrowse
immagina di avere un listbox e sotto al listbox ho posizionato un controllo tab con diversi tab " per nome","per cognome","per città"
nel vecchio programma io non usavo i tab ma usavo un combo dove mi caricavo gli items del combo in un array aaa[n]
però in non so di preciso il numero n ... |
conversione degli items di un combobox | Visualizza il contenuto di aIdx e dimmi cosa contiene esattamente.
EMG |
conversione degli items di un combobox | ok
se faccio ? aidx[1]
mi da "per nome"
se faccio ? aidx[2]
mi da "per cognome"
ma se faccio ? aidx
mi da
parentesigraffa aperta tre puntini parentesigraffa chiusa
secondo te si puo' fare qualcosa ? |
conversione degli items di un combobox | Trovato! Fai così:
[code:5615cp9z]#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oDlg
LOCAL oTabs
LOCAL aIdx := { "Per nome", "Per cognome" }
DEFINE DIALOG oDlg
@ 0, 0 BUTTON "Change";
ACTION ( oTabs:aPrompts[ 2 ] := "Changed",;
... |
conversione degli items di un combobox | si funziona l'esempietto solo che io non so quanti indici ha un archivio
cioè io uso un archivio di systema con questi campi
tabella = nome dell'archio per esempio clienti.dbf
index = nome del tag cdx per esempio clinum.cdx
chiave = nome della chiave sul quale indicizzare l'archivio per esempio numcli
filename = info... |
conversione degli items di un combobox | [quote="Silvio":1zqsbcvd]si funziona l'esempietto solo che io non so quanti indici ha un archivio[/quote:1zqsbcvd]
Non ha importanza quanti elementi abbia aIdx. Riempilo e poi assegnalo ad aPrompts come ti ho fatto vedere e vedrai che funziona.
EMG |
conversione degli items di un combobox | scusa mi ero perso a comprarmi un palmare . qtek 9600
ho provato ....
grazie funziona bene !!!!!!!!!!!!!!!!!! |
conversione degli items di un combobox | Silvio,
puoi postare un preview dei tabs finiti?
o inviamelo alla mia casella privata. |
conversione degli items di un combobox | le tue caselle danno errore |
conversione degli items di un combobox | Non mi risulta di avere le caselle che non funzionano...
Di spam ne ricevo a carrettate <!-- s:cry: --><img src="{SMILIES_PATH}/icon_cry.gif" alt=":cry:" title="Crying or Very sad" /><!-- s:cry: -->
Puoi riprovare? |
conversione degli items di un combobox | Ancora non è finito ma sta uscendo qualcosa .....
[url=http://img181.imageshack.us/my.php?image=tabsdf0.jpg:350bn2hu][img:350bn2hu]http://img181.imageshack.us/img181/1264/tabsdf0.th.jpg[/img:350bn2hu][/url:350bn2hu] |
convert .dat from Quick Basic to text excel dbf... | Hello friends,
Is there a tool to convert a .dat created with Quick Basic to text, excel, dbf, etc...
May thanks in advance. |
convert .dat from Quick Basic to text excel dbf... | up!,
thanks |
convert 13 weeks of data to calendar months | I have a 13 column browse. Each column represents a week. The weeks are consecutive.
The Browse looks like this:
Headers: 7/15/10-07/22/10-07/29/10-08/05/10-8/12/10-08/19/10-08/26/10-09/02/10-09/09/10-09/16/10-09/23/10-09/30/10
As you can see the 13 week columns span three calendar months. July, August and Septem... |
convert 13 weeks of data to calendar months | Harvey,
I read you message a couple of times and I am still not clear on what you are trying to do. Are you saying that you already have data for each week, and now you want to convert it to data for each month?
If so, I would find the data for each day by dividing the week data by 7, then summarize the data by addin... |
convert 13 weeks of data to calendar months | Thanks for the response.
Problem is when a week covers 2 months. Need to have an easy method to slpit the week up between the months
The main issue is to know how many days in the month so you only account for the days in the month, no more no less. say july 31days ...week one 3 days in June and 4 days in july, week ... |
convert 13 weeks of data to calendar months | Hello Harvey,
maybe that could work for You ???
Your Question :
[color=#FF0000:ye01t8vf]Problem is when a week covers 2 months.
Need to have an easy method to slpit the week up between the months[/color:ye01t8vf]
The Calculation is included in my Date / Time Funktion-Collection
[img:ye01t8vf]http://www.pfl... |
convert 13 weeks of data to calendar months | You guys are over complicating it.
By calculating the total for each day you can easily figure out how much for each month--you don't need to know when a week is split between two months. Forget weeks after converting the data to days.
You can use the Month( dDate ) function to find all days in a month--you don't n... |
convert 13 weeks of data to calendar months | Uwe:
it is a bit complex. I want the user to enter on one button and it converts 13 weeks to 3 calendar months.
James:
Each of the 13 weeks has a different value. So the allocation of days within a week to the month must be made.
This has to be done the first week and last week of the month.
so far what I'm doing... |
convert 13 weeks of data to calendar months | Harvey,
[quote:46z0r7fk]Each of the 13 weeks has a different value. So the allocation of days within a week to the month must be made. This has to be done the first week and last week of the month.[/quote:46z0r7fk]
Understood. But as I said, the month() function will handle this for you.
Here is a sample done with th... |
convert 13 weeks of data to calendar months | Further simplifying the above logic calculate aggregate for the quarter and adjust for first and last weeks.
When the first or last week extends to previous or next quarter, reduce proportionately by that week's daily average.
It also happens that first week starts later than the 1st day of calendar quarter or last da... |
convert 13 weeks of data to calendar months | Rao,
You bring up a significant point--what are the rules?
I note that in Harvey's original message he shows only 12 weeks, yet he specifies 13 weeks. And the sample data he shows starts on 7/15/10. Thirteen weeks from 7/15/10 ends on 10/13/10.
I would assume that monthly data for three months should be the range fr... |
convert 13 weeks of data to calendar months | so far I have a solution except the 13 week period must start at the beginning of a month or within 7 days before the beginning of the month.
heres my code:
[code=fw:2d1v4r82]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">function</span> airrpt<span style="color: #000000;">... |
convert 13 weeks of data to calendar months | Harvey,
I think you would benefit by learning to use arrays. This can signigicantly reduce your coding time.
Example. This code can be reduced:
[code=fw:1iteiih2]<div class="fw" id="{CB}" style="font-family: monospace;"> cDate99 := ctod<span style="color: #000000;">(</span><span style="color: #ff0000;">"0... |
convert 13 weeks of data to calendar months | James:
No daily data avaialable and 13 weeks is a calendar quarter. So changing to 14 or 15 weeks is not an option.
THanks all fo the help. |
convert 13 weeks of data to calendar months | Harvey,
[quote:2diqnzpc]No daily data avaialable and 13 weeks is a calendar quarter. So changing to 14 or 15 weeks is not an option.[/quote:2diqnzpc]
So you cannot generate certain monthly data without making guesses. For example, if your quarterly data starts on 7/15 then you have no data from 7/1 through 7/14. So, ... |
convert C to fivewin | I need to utilize the functions of CEFDLL.DLL into my fivewin program
first i have run
IMPLIB cefdll.lib CEFDLL.DLL
for creating the cefdll.lib
now i need to convert the follow C function for fivewin:
DWORD CEFOpen (int intCom, DWORD dwBaudRate, BYTE byParity, BYTE byDataBit, BYTE byStopBit, BYTE byFlowControl, LPDW... |
convert C to fivewin | // DWORD CEFOpen (int intCom, DWORD dwBaudRate, BYTE byParity, BYTE byDataBit, BYTE byStopBit, BYTE byFlowControl, LPDWORD lpdwSysError)
HB_FUNC( CEFOPEN )
{
DWORD dwSysError;
hb_retnl( CEFOpen( hb_parnl( 1 ), hb_parnl( 2 ), hb_parnl( 3 ), hb_parnl( 4 ), hb_parnl( 5 ), hb_parnl( 6 ), &dwSysError ) );
} |
convert C to fivewin | Dear Antonio,
thanks but now i get this error
Compiling: SA.HBP...
Compiling 'SA.PRG'...
Warning W8065 SA.PRG 53: Call to function 'CEFOpen' with no prototype in function HB_FUN_CEFOPEN
Error: Unresolved external '_CEFOpen' referenced from C:\USERS\SANTO\APPDATA\LOCAL\TEMP\HBMK_VE2YOI.DIR\SA.OBJ
Error: Unable to perf... |
convert C to fivewin | Are you linking cefdll.lib ?
You have to link it |
convert C to fivewin | I have linked the cefdll.lib
but i get always the errror
Warning W8065 SA.PRG 53: Call to function 'CEFOpen' with no prototype in function HB_FUN_CEFOPEN
Error: Unresolved external '_CEFOpen' referenced from C:\USERS\SANTO\APPDATA\LOCAL\TEMP\HBMK_VE2YOI.DIR\SA.OBJ
thanks |
convert C to fivewin | You do not have any file with extension .H ( for #include " .H" ) |
convert C to fivewin | I do not have any file .H
the cefdll.dll is a dll for a cash register CUSTOM XKUBE
you can download from the follow link:
<!-- w --><a class="postlink" href="http://www.veneziasoft.com/download/custom/cefdll125.zip">www.veneziasoft.com/download/custom/cefdll125.zip</a><!-- w -->
there is any samples in the zip file
... |
convert C to fivewin | Ok, try putting these lines at the beginning of the .C file, after the includes
[code=fw:11h32xqf]<div class="fw" id="{CB}" style="font-family: monospace;"><br />DWORD CEFOpen <span style="color: #000000;">(</span>int intCom, DWORD dwBaudRate, BYTE byParity, BYTE byDataBit, BYTE byStopBit, BYTE byFlowControl, LPDW... |
convert C to fivewin | hello i try but i get error
any sample please
thanks |
convert C to fivewin | the problem is IMPLIB without -a
now it's ok
here the code:
thanks to all
===
#pragma BEGINDUMP
#include <windows.h>
#include <hbapi.h>
DWORD CEFGetVersion(LPTSTR lpVer, LPDWORD lpdwSysError);
DWORD CEFRead(unsigned char *lpMemArea, LPDWORD pdwByteRead, LPDWORD lpdwSysError);
DWORD CEFWrite(unsigned char *lpComma... |
convert C to fivewin | Great |
convert C to fivewin | IMO, this should be this way:
// DWORD CEFRead(unsigned char *lpMemArea, LPDWORD pdwByteRead, LPDWORD lpdwSysError);
HB_FUNC( CEFREAD )
{
DWORD dwByteRead, dwSysError;
hb_retnl( CEFRead( ( LPBYTE ) hb_parnl(1) , &dwByteRead, &dwSysError ) );
} |
convert C to fivewin | As all functions use DWORD dwSysError; you could use a static variable:
static DWORD dwSysError;
and remove it from all functions. Next you can implement a function to retrieve its value:
[code=fw:10qqccl6]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">HB_FUNC</span><span sty... |
convert C to fivewin | Thank You Antonio |
convert C to fivewin | now it's better
here the new code:
#pragma BEGINDUMP
#include <windows.h>
#include <hbapi.h>
static DWORD dwSysError;
DWORD CEFGetVersion(LPTSTR lpVer, LPDWORD lpdwSysError);
DWORD CEFRead(unsigned char *lpMemArea, LPDWORD pdwByteRead, LPDWORD lpdwSysError);
DWORD CEFWrite(unsigned char *lpCommand, LPDWORD lpdwS... |
convert MySql to DBF | Dear Master,
I try to save all MySql tables to DBF but MySql use UTF8. The DBF columns will be bigger 3 times.
Example
-------------
I use oCn:SaveToDBF( cSql, cDbfFileName )
oRs:name Varchar 30
when I save to DBF
customer->name Charactor 90
How can I fix this issue? |
convert MySql to DBF | You can't.
We need to fix this.
We'll let you know.
Meanwhile, you may please adopt this solution for the time being.
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=37508">viewtopic.php?f=3&t=37508</a><!-- l --> |
convert MySql to DBF | Thank you so much, Master.
[quote="nageswaragunupudi":1o9rho97]You can't.
We need to fix this.
We'll let you know.
Meanwhile, you may please adopt this solution for the time being.
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=37508">viewtopic.php?f=3&t=37508</a><!-- ... |
convert MySql to DBF | Fixed in FWH 1907. |
convert MySql to DBF | Dear Master,
Thank you so much.
Dutch |
convert PNG to BMP from code | Hello all
wrapper function from LibPng to convert PNG Image to BMP image from code...
we can read PNG image and show like bitmap image, the level transparences ( alpha channel) is not support <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( -->
(this is only for test)
for [b:2aulwnpm... |
convert VB source to xHarbour | Hi All !
As subject :
Private Declare Function OpenThemeData Lib "uxtheme.dll" (ByVal hWnd As Long, ByVal pszClassList As Long) As Long
I have vb source code for tExplorerBar
[url:1anhl9lf]http://planet-source-code.com/vb/scripts/ShowZip.asp?lngWId=1&lngCodeId=61899&strZipAccessCode=tp%2FX618999818[/url... |
convert VB source to xHarbour | You must purchase VtaskBar from Paco of Canalfive !!!!!!
I use it with many successes !!!!!!!!!!!!!
------------------------------ |
convert datetime MySQL into Date DBF | Hello,
What is the function to convert datetime MySQL into Date field DBF?.
Thanks!. |
convert datetime MySQL into Date DBF | Hi ,
If you are using TDolphin Lib then you do not need convert MySql Date into Harbour Date Type. However you can also use below function to convert any data type to corresponding Harbour Data Type.
[code=fw:2a1lvnwl]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">HB... |
convert datetime MySQL into Date DBF | [quote="elvira":3c74ei86]Hello,
What is the function to convert datetime MySQL into Date field DBF?.
Thanks!.[/quote:3c74ei86]
FW_TToD( tDateTime/dDate ) --> dDatePart // ValType D
FW_DToT( tDateTime/dDate ) --> tDateTime // ValType T |
convert from a txt text file to a dbf with errors - RESOLVED | I have to convert from a txt text file to an archive dbf
sample of storico.txt
[code=fw:1gq54b1f]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #000000;">1939</span>/<span style="color: #000000;">01</span>/<span style="color: #000000;">07</span> BA <span style="color: #000000;"... |
convert from a txt text file to a dbf with errors - RESOLVED | hi Silvio,
what DATE Format do you use <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: -->
you got YYYY/MM/DD but there is no DATEFORMAT like that
[quote:3oadrpmr]Syntax Date Format
ANSI yy.mm.dd
BRITISH dd/mm/yy
FRENCH dd/mm/yy
GERMAN dd.mm.yy
ITALIAN dd-mm-yy... |
convert from a txt text file to a dbf with errors - RESOLVED | It seems that SET DATE to the right format is not set in prg DD.MM.YYYY ? |
convert from a txt text file to a dbf with errors - RESOLVED | I made It on main, i must repeat It. ? |
convert from a txt text file to a dbf with errors - RESOLVED | Setting date format this way also is valid
[code=fw:3guopabz]<div class="fw" id="{CB}" style="font-family: monospace;"> SET DATE FORMAT <span style="color: #0000ff;">TO</span> <span style="color: #ff0000;">"YYYY/MM/DD"</span><br /> ? Date<span style="color: #000000;">(</span><span style="color: #... |
convert from a txt text file to a dbf with errors - RESOLVED | Actually he converted the date string from the format
YYYY/MM/DD
to
DD/MM/YYYY
with this code
[code=fw:2ikw92w4]<div class="fw" id="{CB}" style="font-family: monospace;"> AEVAL<span style="color: #000000;">(</span> aData, <span style="color: #000000;">{</span> | arr, nIndex | aData... |
convert from a txt text file to a dbf with errors - RESOLVED | Glad you are back to work my friend Silvio
Please send the full text file to my email |
convert from a txt text file to a dbf with errors - RESOLVED | Most of the above comments were made, not knowing the full capabilities of FW_ArrayToDBF.
The function FW_ArrayToDBF( aData ) converts any string values to the destination field type, before saving the data. This function is made keeping in view conversion from CSV.
This type conversion is made using the function
[co... |
convert from a txt text file to a dbf with errors - RESOLVED | I sent you Yesterday storico.txt |
convert from a txt text file to a dbf with errors - RESOLVED | Please try this.
[code=fw:23as9hs1]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><br />REQUEST DBFCDX<br /><br /><span style="color: #00C800;">function</span> Main<span style="color: #000000;">(</span><s... |
convert from a txt text file to a dbf with errors - RESOLVED | [quote="nageswaragunupudi":k8hc6nx7]Please try this.
[code=fw:k8hc6nx7]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><br />REQUEST DBFCDX<br /><br /><span style="color: #00C800;">function</span> Main<span st... |
convert from oldest Listbox to xbrowse | Silvio,
METHODS in xBrowse
just change the codeblocks to :
[color=#0000FF:2xxco6uh][b:2xxco6uh]oBrd:GoTop()
oBrd:GoBottom()
oBrd:Skip( n ) [/b:2xxco6uh][/color:2xxco6uh]
regards
Uwe <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> |
convert from oldest Listbox to xbrowse | on old app I have a listbox have these commands
REDEFINE LISTBOX oBrd FIELDS (oDDom)->DomEnt HEADER "Domicilio" ;
ALIAS (oDDom)->(Alias()) ID 110 OF oDld
[b:1djgy5z2] oBrd:bGoTop :={|| GoToTop(oDDom,cCli)}
oBrd:bGoBottom:={|| GoToBot(oDDom,cCli)}
oBrd:bSkip :={|n| MovePtr(oDDom,cCli,n)}[/b:1djgy... |
convert from oldest Listbox to xbrowse | sorry but perhaps there is an error see[b:2zjcqiak] cCli[/b:2zjcqiak] |
convert from oldest Listbox to xbrowse | You must be using a modified version of TListbox.
I searched TListbox, TControl, and TWindow for the variable bGoTop and it doesn't exist.
What are the functions GoToTop(), GoToBot(), and MovePtr() supposed to do? |
convert from oldest Listbox to xbrowse | WBROWSE OF HERNAN CECCARELLI [b:238b24kb]Do you Know it ?[/b:238b24kb]
I have used this in the past in many applications before coming to the xbrowse
this source works well with Hernan's browse class (18/08/2004---Revision 17)
a part of oldest application
[code=fw:238b24kb]<div class="fw" id="{CB}" style="font-fami... |
convert from oldest Listbox to xbrowse | Silvio,
First set the index for the database object.
oClilents:setOrder("cli") // just an example
Then just do as Uwe says:
just change the codeblocks to :
oBrd:GoTop()
oBrd:GoBottom()
oBrd:Skip( n ) |
convert from oldest Listbox to xbrowse | not run ok
perhaps only but I made only a test
oGuests:= TGuests():New()
oGuests:Seek(cCli)
oGuests:OrdScope(0,cCli)
oGuests:OrdScope(1,cCli)
@2, 2 XBROWSE oBrowse OF oDglGuests SIZE 170,60 PIXEL;
COLUMNS "Cognome","Nome","TipoOspite";
HEADERS "Surname","Name","Type";
... |
convert from oldest Listbox to xbrowse | [quote:3k47g0s8]not run ok[/quote:3k47g0s8]
That is not much help. Exactly what is not OK?
You don't need to do a seek, and you may have to do a gotop() after setting the scope.
And your original message was about gotop() and gobottom(), not about scopes. |
convert from oldest Listbox to xbrowse | I tried with scope simulating that codeblocks |
convert from oldest Listbox to xbrowse | So what is not working? |
convert from oldest Listbox to xbrowse | seem run ok |
convert from prev32dll to excel | Is it possible to convert from prev32.dll excel as pdf or word
thanks |
convert from prev32dll to excel | Hola : ya no se usa prev32.dll , desde el preview se puede exportar a excel en las nuevas versiones.
Saludos.
Enviado desde SGS2 usando Tapatalk |
convert from prev32dll to excel | Sorry. You don't need prev32.dll anymore. In the new versions you can export to excel from the preview.
Sorry my English.
Enviado desde SGS2 usando Tapatalk |
convert from prev32dll to excel | Thank you for your response, I use FWH version 11.4, which version has the possibility of conversion to excel. |
convert from prev32dll to excel | Watch this thread
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=27675&p=154604&hilit=preview+excel#p154604">viewtopic.php?f=3&t=27675&p=154604&hilit=preview+excel#p154604</a><!-- l --> |
convert program to a network version | Can anyone recommend some material available on how to convert my present app (not networkable) to a network version.
Using clipper 5.2e Harbour and FWH
Thanks |
convert program to a network version | Harvey,
just some hints:
databases must be opened in shared mode (SET EXLUSIVE OFF, USE...SHARED)
before any write access you must lock either the dbf or the record and unlock it when the write access is finished.
if you need to rebuild the index files you have to close the dbf and open it in exlusive mode
In clippe... |
convert program to a network version | Harvey
You are looking at a major update if you are going to move from an 'exclusive' .dbf environment to a network share .. I use the associated function(s) whether I use it on a network or on a local machine that is a single user.
Here is a set of functions you can use :
NetUse()
Addrec()
RecLock()
// netuse
sel... |
convert program to a network version | Rick:
You wrote "Hope this helps.."
I'm such a novice anything will help.
Where do I put the functions you described.
I open 20 + data files at beginning of the program and others elsewhere.
Are the functions a one time call for each file or a many time call where are initialized? |
convert program to a network version | Dear Mr.Harvey,
[quote:2snc6923]Where do I put the functions you described.
I open 20 + data files at beginning of the program and others elsewhere. [/quote:2snc6923]
You should open all your dbf files in shared mode. You can use the functions provided by Mr.Rick to open the DBF files in shared mode
For Eg:
Assuming... |
convert program to a network version | Thanks for the useful info.
How do I use an alias with netuse() ?
I open file
Use name.dbf alias name new |
convert program to a network version | To all,
[quote:1m5jnpyu]>I open 20 + data files at beginning of the program and others elsewhere.[/quote:1m5jnpyu]
This is what I do, too. But nowadays I feel it would be better to open the files as short as possible.
What is your experience?
Best regards,
Otto |
convert program to a network version | Hello Anser, hello Rick,
ad Select 1)
What is the advantage of selecting a workarea before opening?
Ad exclusive)
I personally change always in a prgInit procedure the exclusive mode to off.
So all databases are automatically opened shared.
[code=fw:b6hxvmxp]<div class="fw" id="{CB}" style="font-family: monospace... |
convert program to a network version | Dear Mr.Otto,
Normally I don't use Select while opening a DBF, instead I use the clause NEW in the Function NetUse() which is very much similar to what Mr.Rick has already posted above in this post. Using NEW clause will avoid errors of Selecting a workarea which is already used by another DBF
[code=fw:35oqz9n4]<div ... |
convert program to a network version | Dear MR.Harvey,
[quote:1oianpsj]How do I use an alias with netuse() ?[/quote:1oianpsj]
You will have to modify the Function NetUse() to accept one more parameter cAlias. After that you may modify the following code in the NetUse()
[code=fw:1oianpsj]<div class="fw" id="{CB}" style="font-family: monospace;"> &n... |
convert program to a network version | [quote="hag":bfa6v3lq]Can anyone recommend some material available on how to convert my present app (not networkable) to a network version.
Using clipper 5.2e Harbour and FWH
Thanks[/quote:bfa6v3lq]
In 1985 I found Clipper 5 original manual very useful. But keep in mind that you can't simply take a single user app, ... |
convert program to a network version | Thank you all for the help. Converting my app will not be easy and i'll spend sometime before I make my final decision to complete the task.
My preference would be to move the app to internet based. Any suggestions? <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) --> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.