Hi Anser
Thanks for you sample - I have now made it work.
Instead of using :Columns:AutoFit()
I used
oTable:Columns(1):Width = oWord:InchesToPoints(.5)
oTable:Columns(2):Width = oWord:InchesToPoints(5)
oTable:Columns(3):Width = oWord:InchesToPoints(1)
Cheers
Colin
Search found 310 matches
- Wed Jul 15, 2015 5:27 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Word and OLE
- Replies: 5
- Views: 1038
- Mon Jul 13, 2015 11:32 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Word and OLE
- Replies: 5
- Views: 1038
Re: Word and OLE
Hi Anser and Gale Thanks for the replies. Anser I saw this example before I posted the question but your solution puts the table at the bottom of the document - I need to insert the table into an existing document - between existing lines on the document. I was thinking of adding a single row table ...
- Mon Jul 13, 2015 12:14 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Word and OLE
- Replies: 5
- Views: 1038
Word and OLE
Hi All I have an existing word document and I need to insert a table between some existing text ie We have please in providing a quotation for Qty Description Price ----------------------------------------------------------------------- 1 Item 1 $100.00 2 Item 2 $300.00 -----------------------------...
- Tue Jun 02, 2015 11:15 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Windows 10
- Replies: 47
- Views: 9781
Re: Windows 10
Hi All
Thanks for the replies - I think I will wait for the official release and then go for it. Its funny you hear so many
complaints with Windows 8.1 but I have bee using it for ages and have never had any issues with it - so I am looking
forward to Win 10.
Cheers
Colin
Thanks for the replies - I think I will wait for the official release and then go for it. Its funny you hear so many
complaints with Windows 8.1 but I have bee using it for ages and have never had any issues with it - so I am looking
forward to Win 10.
Cheers
Colin
- Mon Jun 01, 2015 11:24 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Windows 10
- Replies: 47
- Views: 9781
Windows 10
Hi All
Has anyone upgraded to Windows 10. I have noticed an update button on the Windows 8.1
taskbar.
Colin
Has anyone upgraded to Windows 10. I have noticed an update button on the Windows 8.1
taskbar.
Colin
- Mon May 25, 2015 7:58 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: How do I code this report ?
- Replies: 7
- Views: 1232
Re: How do I code this report ?
Hi Do a loop and call a header routine in the loop local nPage := 0,nPrRow := 0 do while whatever fnHead(@nPage,@nPrRow) print transaction details skip() enddo function fnHead(nPage,nPrRow) if nPage == 0 .or. nPrProw > 60 nPage++ Print header details nPrRow := 28 endif return(nil) Colin
- Sun May 03, 2015 11:07 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: question xBrowse
- Replies: 2
- Views: 484
Re: question xBrowse
Hi
Try
oCol:lAutoSave := TRUE
Colin
Try
oCol:lAutoSave := TRUE
Colin
- Tue Apr 07, 2015 11:12 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Hash Table
- Replies: 9
- Views: 2665
Re: Hash Table
Hi Carlos The code I posted was the solution - loop through the items - add the item to the aLines array aadd(aLines,hUser2) then pass the aLines array to the record hb_hSet(hUser1,"Lines",aLines) Perhaps I should have posted the API documentation so people could see what I wanted to achie...
- Tue Apr 07, 2015 1:38 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Hash Table
- Replies: 9
- Views: 2665
Re: Hash Table
Hi James
I am doing an interface to an accounting package using HTTP Restful API - and the hash tables are passed to a function to convert to JSON
which is the format the API requires. I must say that Daniel Garcia Gil has been a great help to me in resolving issues with the API.
Regards
Colin
I am doing an interface to an accounting package using HTTP Restful API - and the hash tables are passed to a function to convert to JSON
which is the format the API requires. I must say that Daniel Garcia Gil has been a great help to me in resolving issues with the API.
Regards
Colin
- Mon Apr 06, 2015 10:10 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Hash Table
- Replies: 9
- Views: 2665
Re: Hash Table
Hi Carlos Thanks for your reply but with some great help from Daniel Garcia Gil I was able to resolve the problem. aLines := {} for i := 1 to len(aData) hUser2 := hb_hash() hb_hSet(hUser2,"Description",aData[i,1]) hb_hSet(hUser2,"Total",aData[i,2]) hb_hSet(hU...
- Sat Apr 04, 2015 3:05 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Hash Table
- Replies: 9
- Views: 2665
Hash Table
Hi All How can I make a multiple dimensional hash table hUser2 := hb_hash() for i := 1 to len(aData) hb_hSet(hUser2,"Description",aData[i,1]) hb_hSet(hUser2,"Total",aData[i,2] next // I need the hash table to be like a multi dimensional array // ["Description"] ...
- Thu Feb 19, 2015 2:12 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Find string in variable
- Replies: 2
- Views: 559
Re: Find string in variable
HI Ali
use at() function.
nPos := at(alltrim(cFind),cAddSub)
Colin
use at() function.
nPos := at(alltrim(cFind),cAddSub)
Colin
- Tue Jan 27, 2015 11:30 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Introducing FiveTech's fivedit
- Replies: 537
- Views: 97080
Re: Introducing FiveTech's fivedit
Hi Antonio My last message - my code examples were re formatted. if nNumber == 10 _ cursor moves in three or four spaces endif starts at this position but when you hit the enter tkey he endif is re aligned under the if So automatically it does this as you type and looks like this if nNumb...
- Tue Jan 27, 2015 11:24 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Introducing FiveTech's fivedit
- Replies: 537
- Views: 97080
Re: Introducing FiveTech's fivedit
Hi Antonio Yes that does what you say - but what I meant was when using the following code if nNumber == 10 cursor aligns under the letter n when you complete with endif endif the endif is pulled back in the line with the if The editor automatically indents and outdents - the code is formatted as yo...
- Tue Jan 27, 2015 7:35 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Introducing FiveTech's fivedit
- Replies: 537
- Views: 97080
Re: Introducing FiveTech's fivedit
Hi Antonio
I have checked and auto indentation does not appear to work - unless you hit tab to indent and shift tab to oudent.
Cheers
Colin
I have checked and auto indentation does not appear to work - unless you hit tab to indent and shift tab to oudent.
Cheers
Colin