I have a function that turns seconds into a time string.
ie. you put in 12365 and get out "03:26:05"
I use it in a report and it works fine on the Detail of the report, but when I use it on the sum in the Group Footer, I just get three stars print out.
Is there a problem with using a...
I have an ActiveX on a form and also an ActiveX Bound Control.
And the following code;
CREATE CURSOR _report (bcText c(50), BC g)
SELECT _report
APPEND BLANK
REPLACE bcText WITH "123456789"
APPEND GENERAL BC CLASS TBarCode5.TBarCode5
WITH THISFORM.BoundControl
.CONTROLSOURCE =...
I am trying out a barcode ocx that has a picture property, I want to print a report or run off lables and put the barcode on them, the barcode will be different for every page/label, I have bound the ocx to the data but am struggling to get the picture into the report, help!
On a slightly wider...
I have three tables, table one has a relation set to table two and table two has a relation set to table three.
On my form I have a grid, all but the last column set is to a field out of table one, the last column is populated by a field out of table three.
Most of the time the data in table...
How can I tell if an Expression is a String or a Value?
e.g.
I could either do;
_TmpVar = "Darren"
or
_TmpVar = 123456
But I cant find a way of telling what was done in the help.
Darren
GuiltyMaggot - The best rock band in the world!
I have just written some code that reads in-comming emails and replies to them with attached files, but I am getting weird results with the .msgNoteText property.
THIS WORKS;
thisform.MAPIMessages.Reply
thisform.MAPIMessages.msgNoteText = " "
thisform.MAPIMessages.AttachmentIndex = 0...
Has anyone had any experience with using TSAPI, I cant seem to find very much information on it at all.
I understand the architecture with the .NLMs sitting on the server, the server connecting to the PBX via vender specific drivers and then having to write or purchase the client end...
How can you tell what control has the focus when a keypress event is triggered on a form.
I want differnt results from a certain keypress depending on what control has the focus at the time.
Is there a command for this that I cant find, or is it simply a case of keep track through a variable...
I am getting the following message when I try and pack a table.
I can open the table, brows it and even call up the memo data for individual records, but can not reindex or pack the table.
I have run FoxFix 5 on the table and it reports invalid pointers, but when I update! it doesnt clear the...
I am just about to install a new telephone switchboard that is TAPI and CLI complient.
I want to be able to integrate this into our own inhouse sales desk software, popping the account onto the screen of the calling customer, clicking a button on the screen next to a customers phone number and...
I have a parameter table that contains various pieces of information, one being wether the system is availible or not, becuase i have users spread out over various buildings its a pain getting people out for period end proceedured or system maintenance.
My idea is to have a timer that fires and...
A little while ago there was a thread about whether to run you application from the server or client PC, this got me thinking and i can see the benefits of running the application locally.
I want to copy all the application on to the client PC and then check for updates each time the user logs...
I must be missing something, but i cant see a way of passing a command line to my application when compiled, i know you can pass command line switches to VFP but i want my app to read in command line parameters and use them.
GuiltyMaggot - The best rock band in the world!
For some reason the print preview screen on reports is longer accompanied with the toolbox.
The application has been working fine, it just start an hour or two ago, no matter what report you vew you do not have the toolbox to print it after you have viewed it.
Closing and re-opening the app...
I have the following code, it appears to be ok, and runs without any errors, but nothing happens. I am running outlook attached to an exchange server, but nothing appears to be created or sent.
oMSG = CREATEOBJECT("cdo.message")
oMSG.To = "me@mydodmain.co.uk"
oMSG.From =...
I want to copy a table structure then copy selected records from the original table.
I can copy the structure no problems and then replace the fields one by one, but can not see an easy way of copying the entire record.
The reason that I am doing this is because of a problem I am having with a...
I am using the above control and it is working but I cannot get it to create .JPG files only BitMap.
I have the .DLL required and when I issue a Twain_IsJPegAvailable it returns 1 (true).
If I issue the TWAIN_SetSaveFormat to 4 it acts as if it has created the file but it does not write...
I have an application where I want to be able to key details from a document in to a form and then scan in the original and create an association.
I can obviously just go buy a scanner and use the software provided but this is a bit messy, has anyone got any experience of this sort of thing or...
I have several reports that use the following function;
FUNC _np
_temp = son
skip
if eof() or son <> _temp
skip -1
return .t.
else
skip -1
return .f.
endif
Then set the PrintWhen property on the totals of the reports to _np(), this then only prints the totals on the last page of multi...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.