I have a table of paths used in my app which the user can access via a combo on the main form.
When the down arrow is clicked the drop down 'panel' of entries is far too wide.
How can I shorten this to the width of the control itself?
See http://preview.tinyurl.com/y6cvjrv
Thanks
Coldan
I wrote an MSAccess app some years ago and haven't used MSAccess since.
I have installed the app on quite a number of PCs running WinXP.
I also can run it on my Desktop with WIN7 64bit.
When I installed it on another WIN 7 PC yesterday the app failed to start with an error shown on this line...
I am putting my app together again after a 'botched' backup - 'nuff said.
I am having problems with my Reports - which previously worked like clockwork.
Now they work when debugging and not in the executable.
I am showing the Reports in a maximised window with a Page n from nn in the footer...
I am decoding an Exif tag DateTime.
The value collected is in the form 2009:12:19 14:07:30 in my example
my code is
<code>
myvalue = ALLTRIM(Value)
mypos = AT(' ',myvalue)
mydate = SUBSTR(myvalue,1,mypos)
mytime = SUBSTR(myvalue,mypos,LEN(myvalue))
thisform.txtdatetime1.value = mydate...
In attempting to solve the 'Unable to delete' problem in a previous message I am writing a txt file of the 'saved' (modified)image filenames so that they can be copied back after the Form with the grid is closed.
I create a text file instead of doing the delete.
Thus I have a text file with...
In my application I use the Imageviewer ocx control to (amongst other things) allow additional meta data to be written to a jpg file.
The control requires a temp file to be written with the new Exif data included.
My problem is that the original image file is used in a field in a grid that I...
I have a simple grid on a form. I want to allow changes to the data fields when the 'Edit' option is chosen on a 'selections' form via a checkbox.
I am using mode as the variable name which I pass to the form.
What property can I change in the init of the form to prevent or allow changes? Is...
In my app I'm trying to extract 2 names from a table (table1) which has two fields - lets say PNUM1 and PNUM2 in a record.
The actual names for these these namenumbers are held in another table where field REALNAME is kept against a reference to a PNUM field
SELECT * FROM table1 AS a inner...
I have used the Alvechurch page to remove the text box and add a checkbox to a grid column.
When I run the form the checkbox is not displayed until I click on the column.
Someone helped me with this a few years ago but I've forgotten the solution - anyone help please?
Coldan
I have created a simple form with a single column grid to accept numbers typed in.
It's controlling table is a single field table with a n (10) to which I have appended 100 empty records.
This table with added numbers is used in a SQL JOIN to extract the required number's records from a much...
I have a form on which a chkbox triggers the display of a container.
This contains a text box and a chkbox.
The idea is that the user can choose to enter a single product number or a list of numbers.
In my code so far the single number processing works now I want to add the chkbox click()...
In my app I need to access the registry.
On my dev PC all works fine but I need to make it available on any PC.
I have copied registry.prg to my dev folder but it fails on any other PC without VFP.
The line is loRegistry = NEWOBJECT('registry',HOME(2)+'classes\registry.prg')
What would the...
I have an ini file of just one section's eg [Filter] entries.
I am going to display them in an Edit box on a form.
I would like the 'True' and 'False' to be separately together and listed before the string values for easier reading by the user.
thus far I have this code
<code>
myfile =...
I have an ini style text file that I wish to sort entries in alpha order before I display the values of the items on screen.
This will make it more readable and will group like items together eg
Flagname
FlagValue
Log
TestValue
etc
I have filter.txt with the lines in it.
Thanks
Coldan
I have seen apps ( maybe not VFP) that have a red background before selection then I want a white one with the tick in it.
Is this possible?
I can't identify any properties to do that.
Coldan
Using m to represent a space - (its in arial on the actual post) I want
mmmmmmmmmmmmmmPreposition=in
mmmmmmmmmmmmNameTemplate=colden
mmmmmmmmmmnmmmmmmExhibit=true
If I have the line = lcLine
and x = AT('=',lcLine)
what would the PADL() value be for each line.
I'm a bit rusty this...
In my app I write an ini file with a [Filter] section and I have a View Ini form already setup.
At one point in the program I want to offer the user a chance to view the ini file BUT with only a specific section of the entries shown.
Can I
1 Colour the specific entries ( lines) somehow? or
2...
Set Default To (mydatapath) < defined variable
If File("TL-All.dbf")
myfile = "TL-All"
If !Used(myfile)
Use (myfile) In 0
Endif
Select (myfile)
Endif
alias() (TL-All) does not show in debugger so I tried another table and different command style.
If !Used("tl-web")
Use tl-web In...
Somewhere along the line yesterday I tried to get a file from the NAS and was told it was not accessible. I tried a reboot.
I looked in the Event Log but don't see any message.
Of course not every PC will access a server on boot up so maybe it doesn't think that's unusual.
Does anyone have...
Somewhere along the line yesterday I tried to get a file from the NAS and was told it was not accessible. I tried a reboot.
I looked in the Event Log but don't see any message.
Of course not every PC will access a server on boot up so maybe it doesn't think that's unusual.
Does anyone have...
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.