Posts Tagged ‘problem’
The Perils of Being The One Who Knows IT
Written by WishBoNe on May 3, 2008 – 10:07 amAh, the perils of being the one who knows how to format computers and resolve printer problems at home sure is great, right? For the family, yes. For the one, NO. After facing so many problems at work, do you really think that back at home, the one would even want to resolve any problem? Think again.
The 3 in 1 printer can’t fax anything out or receive anything in. So, what should the one who knows IT do? Shrug. That’s because a fax machine has nothing to do with IT. Either the line is corrupted or the printer needs to be changed. Or maybe the printer’s setting is wrong.
At home, the one has to solve TV problems, virus-ridden laptops, mobile phone problems and anything that has remotely something to do with IT. It isn’t fun when work gets dragged into personal lives too. Able to resolve problem is one thing.
Being the one to be asked to resolve the problems every single time is another thing. Can get a break or not?
Tags: Career, Fax, Mobile Phone, Peripherals, problem, Technology, Work
Posted in Career, Hardware, Life, Mobile Phone, Software, Technology, Work | No Comments »
Table Data Wrong
Written by WishBoNe on November 28, 2007 – 3:18 pmHave been trying to populate a table but the last cell at the bottom right often end up with all the information in the array backwards. I’m not sure what is wrong here. Using 2 arrays to store the information and creating a table looked easy. Unfortunately, the information being populated looked awkward.
Code used:
Set rtFld = New NotesRichTextItem (nDoc, “sRptResults”)
tblRow = divCnt
tblCol = 3
Set rtNav = rtFld.CreateNavigator
Call rtFld.AppendTable(tblRow, tblCol)
Call rtNav.FindFirstElement(RTELEM_TYPE_TABLECELL)
For i = 1 To tblCol
For k = 1 To tblRow While k <= tblRow
Call rtFld.BeginInsert(rtNav)
Call rtFld.AppendText (k)
Call rtFld.EndInsert
Call rtNav.FindNextElement(RTELEM_TYPE_TABLECELL)
Call rtFld.BeginInsert(rtNav)
Call rtFld.AppendText (divNameList(k))
Call rtFld.EndInsert
Call rtNav.FindNextElement(RTELEM_TYPE_TABLECELL)
Call rtFld.BeginInsert(rtNav)
Call rtFld.AppendText (divCntList(k))
Call rtFld.EndInsert
Call rtNav.FindNextElement(RTELEM_TYPE_TABLECELL)
Next Wend
Next
Call nDoc.Save (False, False)
Wonder what is wrong.
Update: Just change the inner loop to a While loop and it works find!
Tags: code, loop, problem, program, table
Posted in Career, Design, Domino, IBM, Life, Lotus Notes, Software, Technology, Work | No Comments »
















