New call-to-action
Results 1 to 17 of 17

Thread: The problem when update new program to end user

  1. #1
    Member
    Real Name
    Peterth
    Join Date
    Oct 2009
    Posts
    278

    Default The problem when update new program to end user

    Hi All,

    I have problem when update application to end user.
    I have 2 cases and let someone confirm me what I should do it.
    (after I do it mysolf and usually lost data)

    1. I have application version1.1 with data 10 records and install to end user 's PC for a week. and uptil now he has data 200 records.
    Later he requests me more feature. I develop the application version1.2 and
    want to install the program in his PC. What I should do it?
    1.1 First I copy all his directory to safe place.
    1.2 If I copy all my folder to his directory, finally he lost data and it will be 10 records same as my original.
    1.3 I try to copy all my folder to his directory except .dbf,.cdx,.fpt
    I found his data is 200 records but program cannot run correctly same as my new version 1.2
    What I should do in cause I want to upgrade the program with new version only (it has new forms, more field and field rule of old table)

    2. In case I have more new reports to end user. what file I should copy to his directory?

    I try to find on board but confuse it?
    for above my 2 cases what files I should copy and except?

    Thanks
    Peter-th

  2. #2
    "Certified" Alphaholic
    Real Name
    Charlie Crimmel
    Join Date
    Apr 2000
    Location
    West Virginia
    Posts
    1,695

    Default Re: The problem when update new program to end user

    If you added new filed to the table structure:
    copy his data to a safe place.
    copy your new application

    go to control panel
    click on the table tab
    right click on the table that you need his data in (the one that has 10 records) go to utilities and empty and pack table.
    go to operation tab and create a new append operation.
    master table will be the new blank table.
    you then select the uses data that was saved to a safe place and select the table that you need.
    all of the fields should populate.save and run.

    Charlie Crimmel

  3. #3
    "Certified" Alphaholic
    Real Name
    Charlie Crimmel
    Join Date
    Apr 2000
    Location
    West Virginia
    Posts
    1,695

    Default Re: The problem when update new program to end user

    if you did not add any field to the table structure.
    Then just copy the new DDD.DDM.DDX files.

  4. #4
    Member
    Real Name
    Peterth
    Join Date
    Oct 2009
    Posts
    278

    Default Re: The problem when update new program to end user

    Thank you Charlie, I will try it

  5. #5
    Member
    Real Name
    Peterth
    Join Date
    Oct 2009
    Posts
    278

    Default Re: The problem when update new program to end user

    Quote Originally Posted by crimmelcp View Post
    if you did not add any field to the table structure.
    Then just copy the new DDD.DDM.DDX files.
    How about if I did not add any field to the table structure table but change calculate field rule (field rule of table)


    and how about if I did not add any field to the table structure table but change calculate on old form?

    Thans
    Peter-th

  6. #6
    "Certified" Alphaholic
    Real Name
    Charlie Crimmel
    Join Date
    Apr 2000
    Location
    West Virginia
    Posts
    1,695

    Default Re: The problem when update new program to end user

    1. How about if I did not add any field to the table structure table but change calculate field rule (field rule of table)
    According to info below the DDD files contain field rules

    2. how about if I did not add any field to the table structure table but change calculate on old form?

    The DDM contains layouts and forms

    I always copy the DDD,DDM and DDX as a group, But I dont think that you have to.

    Database (Library)
    .ADB
    Contains the filenames of all tables and sets that are members of the database and the names of all libraries that have been attached to the database.


    .ALB
    The data dictionary for an .ADB file. Contains settings, pointers to all scripts, user defined functions, menus, toolbars, bitmaps, and import definitions that have been defined for the database.
    Storing Scripts in a Library, Attaching a Library to the Current Database

    .ASI
    This file stores web application variables.

    .ALM
    Stores all scripts, user defined functions, menus, toolbars, bitmaps, and import definitions used by more than one table.

    .ALX
    Alpha Five uses the .ALX file to find a specific script, function, operation, setting, etc. that is stored in the data dictionary.

    .ASX
    A temporary file containing the indexing information generated by a query against a set. These files may be deleted.


    .ADBLOCK
    A temporary file used to prevent more than one user from refreshing a shadow database at one time.
    Cannot Refresh Database Problem

    Table
    .DBF
    Contains the table's data, one or more records, each containing one or more fields, and the definition of the table's structure. System toolbars are stored in a_toolbars_customized.DBF and system menus are stored in a_menus_system.DBF.
    Table Functions and Methods, Record Functions, Field Functions and Methods

    .CDX
    Contains the table index(es). This file is only present if you define index field(s). Alpha Five uses indexes to quickly find records.
    Index Functions and Methods

    .FPT
    Contains memo fields, which are text fields of arbitrary length. This file is only present if you define memo field(s).


    Data Dictionary
    .DDD
    The table's data dictionary, which contains lists of additional table objects such as Layouts (forms, browses, etc.), report designs, saved operations, field rules, and field names longer than 10 characters.
    Dictionary Methods, Reading From and Writing To the Data Dictionary

    .DDM
    Stores additional table objects such as Layouts (forms, browses, etc.), report designs, and saved operations in memo format.

    .DDX
    Contains the dictionary's index(es). Alpha Five uses the .ddx to find a specific form name or field rule or whatever is needed.

    Set
    .SET
    The set's data dictionary, which contains lists of additional set objects such as Layouts (forms, browses, etc.), report designs, saved and operations.
    Set Functions and Methods

    .SEM
    Stores additional set objects such as Layouts (forms, browses, etc.), report designs, and saved operations in memo format.

    .SEX
    Contains the set's index(es), used to find set components.

    Web Publishing
    .A5W
    An Alpha Five HTML page that may also contain Xbasic and Javascript code and web components. The Application Server interprets the Xbasic and web components into HTML or Javascript and delivers the resulting page to a web browser.
    Web Publishing Reference

    .A5WCMP
    A file that contains the definition of an Alpha Five web component. A5W pages may contain one or more web components.

    .WCP_Settings
    Stores Web Project settings specific to a profile.


    .WebPublishHistory
    Stores publishing history information and is used to determine what needs to be published.


    Other
    .MPX
    A temporary file containing the indexing information generated by a query against a table. These files may be deleted. Alpha Five should delete them when exiting.


    $$...

    .AEX
    Compiled library script files.

    .CHM
    Compiled Windows help files.

    .HLP
    Standard Windows help files.

    .LOG
    Error and transaction logging files.

    .BML
    .BMT
    .BMX
    Image library files.

    .EXE
    .DLL
    .DRV
    Alpha Five program files.

    .MUF
    Alpha Five creates temporary .MUF files to control the number of people who can concurrently open a database. If a user has a 3 user a5 license, then: when person 1 opens the database, the .MUF file with the same name as the .ADB file is created and a count of 1 is recorded in the .MUF file. When person 2 opens, the count in the .MUF file is increased to 2. When person 3 opens, the count in the .MUF file is increased to 3. When person 4 tries to open the count in the .MUF file would exceed the number of licenses, so person 4 gets an error message. When person 3 closes, the count in the .MUF file is reduced to 2 and person 4 could open. When all users close the count in the MUF file is 0 and the .MUF file is deleted by Alpha Five. If a crash occurs the .MUF file may be left on disk, preventing other users from accessing the application. In this case all users should exit Alpha Five and the MUF should be manually deleted.

    .RMUF
    The Alpha Five Runtime keeps track of the number of simultaneous users using a file with a .RMUF extension, which has the same functionality as a .MUF file.

  7. #7
    Member
    Real Name
    Peterth
    Join Date
    Oct 2009
    Posts
    278

    Default Re: The problem when update new program to end user

    Thank you for your more details how to do when upgrade the program to end user.

    Thanks
    Peter-th

  8. #8
    Volunteer Moderator
    Real Name
    Alan Buchholz
    Join Date
    Oct 2000
    Location
    Delavan, Wisconsin
    Posts
    9,662

    Default Re: The problem when update new program to end user

    Quote Originally Posted by crimmelcp View Post

    I always copy the DDD,DDM and DDX as a group, But I don't think that you have to.
    There is no practical advantage not to keep these files together and only disadvantages to separating them.

    Same thing with SET,SEM, and SEX as well as DBF and it's optional FPT (Present only when a memo field(s) exist in a table.

    Internal pointers in the headers of the files may be lost if the files are not kept together...
    Al Buchholz
    Bookwood Systems, LTD
    Weekly QReportBuilder Webinars Thursday 1 pm CST

    Occam's Razor - KISS
    Normalize till it hurts - De-normalize till it works.
    Advice offered and questions asked in the spirit of learning how to fish is better than someone giving you a fish.
    When we triage a problem it is much easier to read sample systems than to read a mind.

  9. #9
    Volunteer Moderator Peter.Greulich's Avatar
    Real Name
    Peter Greulich
    Join Date
    Apr 2000
    Location
    Boston, MA
    Posts
    11,656

    Default Re: The problem when update new program to end user

    Quote Originally Posted by Al Buchholz View Post
    ...

    Same thing with SET,SEM, and SEX as well as DBF and it's optional FPT (Present only when a memo field(s) exist in a table.
    But, remember Peter-th, FPT is a data file. If you copy that over your user's files, the user will lose data and end up with a messed up memo field(s).
    Last edited by Al Buchholz; 04-29-2013 at 09:31 AM. Reason: corrected abbreviation.

  10. #10
    Member
    Real Name
    Renny Jacob
    Join Date
    Mar 2012
    Location
    Dubai
    Posts
    117

    Default Re: The problem when update new program to end user

    So is there any easy way (utility) to get this done?
    I also get client's (runtime alpha) modification request on forms and reports. I do the modification in the office but copy them to client's machine is a headache.

    please advise

    thanks
    Renny

  11. #11
    "Certified" Alphaholic Stan Mathews's Avatar
    Real Name
    Stan Mathews
    Join Date
    Apr 2000
    Location
    Bowling Green, KY
    Posts
    25,119

    Default Re: The problem when update new program to end user

    There is now an option to Send Layout and Import Sent Layout.
    There can be only one.

  12. #12
    "Certified" Alphaholic Keith Hubert's Avatar
    Real Name
    Keith Hubert
    Join Date
    Jul 2000
    Location
    London, UK
    Posts
    6,930

    Default Re: The problem when update new program to end user

    Renny,

    As Stan has advised:
    There is now an option to Send Layout and Import Sent Layout.
    Have a look in Code Archive for Import and Export. There is code there that will also handle Operations.
    Regards
    Keith Hubert
    Alpha Guild Member
    London.
    KHDB Management Systems
    Skype = keith.hubert


    For your day-to-day Needs, you Need an Alpha Database!

  13. #13
    Member
    Real Name
    Renny Jacob
    Join Date
    Mar 2012
    Location
    Dubai
    Posts
    117

    Default Re: The problem when update new program to end user

    If I have modified multiple forms and reports in a project, is there a way to compile all of them and send a single file to the user pc without affecting their existing data? (like an exe/dll file in VB)

  14. #14
    "Certified" Alphaholic Stan Mathews's Avatar
    Real Name
    Stan Mathews
    Join Date
    Apr 2000
    Location
    Bowling Green, KY
    Posts
    25,119

    Default Re: The problem when update new program to end user

    No.
    There can be only one.

  15. #15
    "Certified" Alphaholic DaveM's Avatar
    Real Name
    Dave Mason
    Join Date
    Jul 2000
    Location
    Hudson, FL
    Posts
    6,044

    Default Re: The problem when update new program to end user

    Within alpha, stan is correct. You could use an installer from the outside that will compile all the files necessary(you have to know which ones) and make an exe, that the user runs on his machine. In fact, you can use the whole folder full of files and just mark the ones you do not want to overwrite on the install.

    My favorite is to have the installer copy the whole folder to a safe place, send empty tables and append all the records back into the new tables after they are installed. This uses a bootstrap adb. This can also be found in the code archive.

    What ever you do, be sure to test it thoroughly on one of your own computers first so as not to ever lose a clients data. That would be horrible.
    Dave Mason
    dave@aldadesktop.com
    Skype is dave.mason46

  16. #16
    "Certified" Alphaholic MoGrace's Avatar
    Real Name
    Robin
    Join Date
    Mar 2006
    Location
    Los Angeles
    Posts
    3,739

    Default Re: The problem when update new program to end user

    Hi Dave,
    Do you happen to know the thread in the Code Archive where that idea can be found? I tried 'bootstrap' but no luck.
    Robin

    Discernment is not needed in things that differ, but in those things that appear to be the same. - Miles Sanford

  17. #17
    "Certified" Alphaholic DaveM's Avatar
    Real Name
    Dave Mason
    Join Date
    Jul 2000
    Location
    Hudson, FL
    Posts
    6,044

    Default Re: The problem when update new program to end user

    No, I don't remember exactly. But it was the bootstrap I gave to you, I think.

    You can have 2 boot straps on an app. One to do all the dirty work and the other one for a workstation or to set the runtime. Each would delete themselves and start the other and delete the first. You can also utilize a path finder to locate your application path on a network.

    akmazing what you can get into an autoexec script.
    Dave Mason
    dave@aldadesktop.com
    Skype is dave.mason46

Similar Threads

  1. End User Reporting
    By cpgood in forum Alpha Five Version 9 - Desktop Applications
    Replies: 1
    Last Post: 02-05-2010, 07:56 PM
  2. End user customization
    By Jcian in forum Alpha Five Version 9 - Desktop Applications
    Replies: 3
    Last Post: 03-24-2009, 10:34 AM
  3. Hide toolbar to the End User
    By ITALIA in forum Alpha Five Version 6
    Replies: 2
    Last Post: 07-08-2007, 10:53 PM
  4. End-User Custom Reports
    By davej in forum Alpha Five Version 5
    Replies: 14
    Last Post: 08-17-2002, 05:23 PM
  5. Using alpha as front end to another program
    By drgarytraub in forum Alpha Five Version 4
    Replies: 8
    Last Post: 09-12-2001, 03:12 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •