Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: coldan
  • Content: Threads
  • Order by date
  1. coldan

    Problem with combo propdown

    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
  2. coldan

    OLd MS Access App and WIN 7

    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...
  3. coldan

    Problem with Reports

    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...
  4. coldan

    Date format - is this possible?

    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...
  5. coldan

    Looping through text file

    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...
  6. coldan

    Trouble deleting file

    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...
  7. coldan

    Not allow changes in a grid

    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...
  8. coldan

    SQL join on two colums

    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...
  9. coldan

    Checkbox in grid column

    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
  10. coldan

    Grid not accepting key strokes on a form

    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...
  11. coldan

    provide the user with a listing method

    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()...
  12. coldan

    Using registry.prg

    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...
  13. coldan

    'Clumping entries in an ini file

    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 =...
  14. coldan

    sorting lines in a text file

    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
  15. coldan

    Checkbox colours

    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
  16. coldan

    lining up text that has an '=' in the line

    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...
  17. coldan

    colouring lines in a text file in an edit box.

    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...
  18. coldan

    Senior moment - use a dbf

    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...
  19. coldan

    Cannot Start Workstation Service

    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...
  20. coldan

    Lost Workstation Service WIN 7

    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...

Part and Inventory Search

Back
Top