Search found 249 matches
- Thu Aug 27, 2015 9:51 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: ADO and Lock
- Replies: 27
- Views: 5683
Re: ADO and Lock
In a Sql concept,you will do : oRs:Open("select ID FROM TABLE1",oCon) wid:=oRs:Fields("ID"):Value wid:=wid+1 UPDATE TABLE1 SET ID=wid * How can you lock, how are you sure that this code is not execute at the same time from another computer using the same application . ======= In ...
- Tue Aug 04, 2015 6:33 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: ADO and Lock
- Replies: 27
- Views: 5683
Re: ADO and Lock
I am back with this problem .
Could someone share some sample of code of transaction with fivewin .
Thanks
Could someone share some sample of code of transaction with fivewin .
Thanks
- Thu Jun 18, 2015 6:53 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: ADO and Lock
- Replies: 27
- Views: 5683
Re: ADO and Lock
Marc,
Is it possible to give a sample of code .
I read in the past that it is possible to use a SQL table in exclusive mode , how to ?
Thanks.
Is it possible to give a sample of code .
I read in the past that it is possible to use a SQL table in exclusive mode , how to ?
Thanks.
- Thu Jun 18, 2015 8:17 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: ADO and Lock
- Replies: 27
- Views: 5683
Re: ADO and Lock
I agree with you BUTthe custumer ask me to reset the counter to 1 each month.
There is a prefix in front of the invoice number who is YYYYMM-invoice number ==> 201506-0001 .....
Thanks for your help .
There is a prefix in front of the invoice number who is YYYYMM-invoice number ==> 201506-0001 .....
Thanks for your help .
- Thu Jun 18, 2015 6:30 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: ADO and Lock
- Replies: 27
- Views: 5683
ADO and Lock
Hello, I have an invoice file with a field InvoiceNumber, when the user add a record, the invoice number must be the last one + 1 In a SQL network environment, how can i be shure that dont have 2 times the same number . With DBF, when i want to do the same, i open an other file (LOCK.DBF) in EXCLUSI...
- Tue Jun 09, 2015 1:39 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: DISPLAY STRUCTURE with SQL
- Replies: 4
- Views: 486
Re: DISPLAY STRUCTURE with SQL
Thanks
This code works good !
select *
from INFORMATION_SCHEMA.COLUMNS
where TABLE_NAME='tableName'
This code works good !
select *
from INFORMATION_SCHEMA.COLUMNS
where TABLE_NAME='tableName'
- Tue Jun 09, 2015 12:24 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: DISPLAY STRUCTURE with SQL
- Replies: 4
- Views: 486
DISPLAY STRUCTURE with SQL
Hi,
What is the equivalent of DISPLAY STRUCTURE for an access or MS SQL database ?
Thanks .
What is the equivalent of DISPLAY STRUCTURE for an access or MS SQL database ?
Thanks .
- Sat Jun 06, 2015 8:27 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: REMOTE DESKTOP
- Replies: 2
- Views: 713
Re: REMOTE DESKTOP
Thanks for your help .
It works .
Thanks
It works .
Thanks
- Fri Jun 05, 2015 2:06 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: REMOTE DESKTOP
- Replies: 2
- Views: 713
REMOTE DESKTOP
When i execute an application with Remote Desktop (TS) ,
the function GetEnv( "COMPUTERNAME" ) return the NAME of the SERVER and not the name of the workstation that execute Remote Desktop .
How to know this name ?
Thanks
the function GetEnv( "COMPUTERNAME" ) return the NAME of the SERVER and not the name of the workstation that execute Remote Desktop .
How to know this name ?
Thanks
- Tue Jan 27, 2015 10:58 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: function to supress intermediate spaces
- Replies: 17
- Views: 2807
Re: function to supress intermediate spaces
Try STRTRAN(var," ","")
Good luck
Good luck
- Tue Jan 13, 2015 2:56 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Outlook Web Access (OWA)
- Replies: 1
- Views: 330
Outlook Web Access (OWA)
Hello,
We have sample to send mail with Gmail .
I am looking for a sample to send mail with OWA (Outlook Web Access)
Thanks for your help .
We have sample to send mail with Gmail .
I am looking for a sample to send mail with OWA (Outlook Web Access)
Thanks for your help .
- Fri Dec 05, 2014 4:12 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Copy or paste one record
- Replies: 12
- Views: 4811
Re: Copy or paste one record
Here is my code :
vdata:={}
for a=1 to fcount()
aadd(vdata,fieldget(a))
next
append blank
if rlock()
for e=1 to fcount()
fieldput(e,vdata[e])
next
unlock
skip 0
else
MsgAlert("Lock error !!")
endif
vdata:={}
for a=1 to fcount()
aadd(vdata,fieldget(a))
next
append blank
if rlock()
for e=1 to fcount()
fieldput(e,vdata[e])
next
unlock
skip 0
else
MsgAlert("Lock error !!")
endif
- Tue Oct 28, 2014 6:54 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: File Size and Record Limit
- Replies: 5
- Views: 1747
Re: File Size and Record Limit
Thanks for this info .
- Mon Oct 27, 2014 7:07 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: File Size and Record Limit
- Replies: 5
- Views: 1747
File Size and Record Limit
Hi, I have a DBF file with 5 fields , it is an audit files . The size is actualy 1 284 545 259 and the number of records is 5 400 000 . This file is used to audit the modification and in only open durring 1 seconds each time a record is added . Is there a limit for number of records and the size of ...
- Thu Aug 28, 2014 12:32 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: First worldwide FiveWin developers conference!!!
- Replies: 23
- Views: 4514
Re: First worldwide FiveWin developers conference!!!
What about this meeting ?
Is it for 2014 or 2015 ?
Do you have a location ?
Thanks !
Is it for 2014 or 2015 ?
Do you have a location ?
Thanks !