Saving in visual basic

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • arali
    New Member
    • Jan 2008
    • 24

    Saving in visual basic

    Hello all
    please tell me how to do this and please give me the code

    i have a form in which i want to store the data
    now the problem is this how to store data which is not part of the database or table such as date ,time etc
    there is one button for saving how it will save other data which is not bind with table
    please give me the coding to save all form data in a single save button click
  • epots9
    Recognized Expert Top Contributor
    • May 2007
    • 1352

    #2
    Moved to the VB Forums where the resident experts can better assist you.

    **Moved from Programming Challenges

    Comment

    • jamesd0142
      Contributor
      • Sep 2007
      • 471

      #3
      Originally posted by arali
      Hello all
      please tell me how to do this and please give me the code

      i have a form in which i want to store the data
      now the problem is this how to store data which is not part of the database or table such as date ,time etc
      there is one button for saving how it will save other data which is not bind with table
      please give me the coding to save all form data in a single save button click
      Where do you want to save this additional data?
      And where do you want to save it? text file...?

      Comment

      • Ali Rizwan
        Banned
        Contributor
        • Aug 2007
        • 931

        #4
        Originally posted by arali
        Hello all
        please tell me how to do this and please give me the code

        i have a form in which i want to store the data
        now the problem is this how to store data which is not part of the database or table such as date ,time etc
        there is one button for saving how it will save other data which is not bind with table
        please give me the coding to save all form data in a single save button click
        Why are you saving other informations i mean is there not any link between dbase items?
        Is other information is only date and time?
        Please post all other information to get right code for that.

        Regards
        >> ALI <<

        Comment

        • Killer42
          Recognized Expert Expert
          • Oct 2006
          • 8429

          #5
          Our experts are happy to help you understand and develop your application, but don't usually take kindly to requests to "just give me all the code".

          Comment

          • arali
            New Member
            • Jan 2008
            • 24

            #6
            Originally posted by jamesd0142
            Where do you want to save this additional data?
            And where do you want to save it? text file...?
            any where when i want to see these information it should be avalible to me with table data and i want to see them in the report

            Comment

            • arali
              New Member
              • Jan 2008
              • 24

              #7
              Originally posted by jamesd0142
              Where do you want to save this additional data?
              And where do you want to save it? text file...?

              I want to save these data any where but when i reopen the form these data should be visible along with table data which i saved.

              Comment

              • arali
                New Member
                • Jan 2008
                • 24

                #8
                Originally posted by Ali Rizwan
                Why are you saving other informations i mean is there not any link between dbase items?
                Is other information is only date and time?
                Please post all other information to get right code for that.

                Regards
                >> ALI <<
                This is Arshid ali from tarbela dam .
                Now tell me if i want to link it .i should be defined in table .
                When i save recored i want it save the time and date .
                And formula fields and show it in the report also.

                Comment

                • Ali Rizwan
                  Banned
                  Contributor
                  • Aug 2007
                  • 931

                  #9
                  Originally posted by arali
                  This is Arshid ali from tarbela dam .
                  Now tell me if i want to link it .i should be defined in table .
                  When i save recored i want it save the time and date .
                  And formula fields and show it in the report also.
                  Bhayya ji,
                  It is better to save these contents in database also its easy than saving them in another file.

                  Regards
                  >> ALI <<

                  Comment

                  • arali
                    New Member
                    • Jan 2008
                    • 24

                    #10
                    Originally posted by Ali Rizwan
                    Bhayya ji,
                    It is better to save these contents in database also its easy than saving them in another file.

                    Regards
                    >> ALI <<

                    I not understand how to do this .
                    Define table fields for these recoreds
                    Now how a table field will show an atuomatic date and time please give me some coding.

                    Comment

                    • Ali Rizwan
                      Banned
                      Contributor
                      • Aug 2007
                      • 931

                      #11
                      Originally posted by arali
                      I not understand how to do this .
                      Define table fields for these recoreds
                      Now how a table field will show an atuomatic date and time please give me some coding.
                      I think we need a conversation on yahoo messenger
                      Yeah define a field for date and time but you can do this with only one field
                      OK
                      ANd whenever somenew record is going to be added put automatically date and time to that record.
                      OK

                      Regards
                      >> ALI <<

                      Comment

                      Working...