How do I use the "FindItem" method?
When I create the entries in the listview, I add an unique key from the cursor that provides the records for the listview
I also need to be able to move to the record in the listview control when the cursor in the main table is moved (locating correct row...
Periodically VFP crashes.
Looks like its due to AcroPDF.dll
Here is the fault:
Problem signature:
Problem Event Name: APPCRASH
Application Name: vfp9.exe
Application Version: 9.0.0.5815
Application Timestamp: 4713a6f4
Fault Module Name: AcroPDF.dll_unloaded
Fault Module Version...
Hi,
I have a report which I am trying to insert an image.
Sometimes there is an image to be loaded or sometimes the cursor driving the report does not have an image to load
Now this works OK when there is an image, but when the there is no image it fails
In the report control I have tried...
I would like to do the following:
If a memo field in a report starts with company name:
For the sake of anonymity I will use:
"My Company Name"
I would like to make the first letter of each of these words only appear in RED while the remaining text for each word and the rest of the memo field...
I have a single select statement to get data for my report.
I have SET ORDER TO name
I have 2 more sub groupings, and would like to have them
ordered correctly as well.
1st group = Name = OK
2nd group = Job number = not ordered
3rd group = Task number = not ordered
How do set order on...
Just having a look at Outlook as here:
faq184-3894
Our server has multiple user accounts.
How do I work with messages from different user accounts?
What I would like to do is save all attachments to a directory from 1 particular account:
I would probably set up an email account for the VFP...
I have been trying to get this to work, the PDF solution here:
faq184-2143
My ps file are created, but I get an error message when
ps2pdf.prg tries to open ghost script.
This is it hangs up:
RetCode = CreateProcess(0, File2Run, 0, 0, 1, ;
NORMAL_PRIORITY_CLASS , 0, 0, @lcStartupInfo...
Is there a way to make the application independant of windows themes?
This application will be running from a Windows 2008 server via remote desktop, with windows classic desktop.
Can I include a "themes" file with the application so it will appear "themed"?
Can I use variables to create an object reference,
for instance:
thisform.textbox1.visible=.t.
can I use a variable for the "textbox1" part?
thisform.variable.visible=.t.
or
thisform.textbox + variable.visible=.t.
I have 252 objects on a form that I wish to vary the properties for...
I have no idea if or how I can do this:
I would like to have a calender in a form which shows
text and info in the calender for events booked on those
day/s.
Also have different colours for the days which have events.
That way the user can see instantly when there are free days
to book other...
I am trying to get a grid to have different row colours according to the current status of that row. For instance:
If column called "Progress" has "OVERDUE!" in the row then the row should be say coloured red.
If another row has the "Progress" as being "Near Due" then
the colour of that row...
I am using ole automation with excel.
The issue I have is with the borders.
Here is what I am doing
I populate the data like this:
LOCAL nRow
nRow = 5
** populate our excel workbook
** get data
thisform.getreportdata
select cReportData
SCAN
xl.cells(nRow, 1).value = Assetid
xl.cells(nRow...
I have a number field where I increment the field by + 1
or + 0.01 when adding records, depending on an option button selection.
When I switch to incrementing by + 1, I need to change the
numbers on the right hand side of the decimal point to .00
For example:
If I was incrementing by .01 and...
When I install my app and test on another computer, and install to say c:\program files\app\ I get error messages.
During development I used a different directory.
I have some code in the main prg that sets the path, so that works OK, the problem is with cursor adaptors.
I have used cursor...
I have a list box which I am setting up a couple of
"up" and "Down" buttons so the user can reorder the items
to their choosing.
I got my code to work (Not sure if its the best way to do it,
but it works anyhow), but what I need to do is keep the
record in the list highlighted as it moves up or...
I a using variables in a message box for the message text.
eg:
"any text" + variable1 + "Some other Text" + variable2
One of the variables is from a number field.
I get an error message when trying to concatenate the
text with this variable.
Is there a way to solve this?
I get the information to a report via 2 select into cursor statements.
I am trying to use grouping, but I always end up with one set of data getting lost.
For example:
Select #1 has primary key, want to group on that.
Select #2 has its own PK plus the foreign key from Select #1
I put Select #2...
I have the property "desktop" set to .t. in a form,when I call a report preview, the preview is always behind the form.
Is there anyway to change this.
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.