Page 2 of 2 FirstFirst 12
Results 16 to 27 of 27
  1. #16
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917

    When you have the form open in design view can you press ^G (ctrl G) and open the immediate window?

  2. #17
    Behedwin is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Sep 2016
    Posts
    61
    Okey, i figured out a part of it

    This formula works

    =Delsträng([PersonnummerTextruta];0;5)

    MID seems to be DELSTRÄNG in access and not EXTEXT like in Excel

    So above formula works

    and it returns what i want.

    however, this formula does not work
    =År(Delsträng([PersonnummerTextruta];0;5))

  3. #18
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    Why 0;5 rather than 1;4?

  4. #19
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    Having any luck?

  5. #20
    Behedwin is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Sep 2016
    Posts
    61
    No, i got stuck with other things sadly.

    Now back at it.

    But im still stuck at not getting formulas to work.
    Like i said last

    =Delsträng([PersonnummerTextruta];0;5)
    It works, it display the 4 first digits from the field PersonnummerTextruta.
    It also works to have 1;4

    But then i want to extract digits from 4;2 and 6;2 from PersonnummerTextruta
    And convert all numbers to a date.

    But i can not find a formula that works in Access. In excel it is easy... but access it seems like lots of formulas are missing somehow.

  6. #21
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    So it looks like Delsträng() is the Mid() string function so now you need to locate the DateValue() function, right?

  7. #22
    Behedwin is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Sep 2016
    Posts
    61
    yes that is correct.

    Do you got any simple datevalue formula i can use to test?

    like i did with delsträng()

  8. #23
    Behedwin is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Sep 2016
    Posts
    61
    damn
    now Delsträng([PersonnummerTextruta],1,4)
    is not working... cant figure it out.
    it did work just an hour ago....

    also tried Delsträng([PersonnummerTextruta];1;4)

    but now nothing works.

    this is so weird.

  9. #24
    Behedwin is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Sep 2016
    Posts
    61
    starting to give up on this.
    access 2016 seems to lack lots of stuff
    i dont have any publish tools like this guide tells
    https://support.office.com/en-us/art...9-8942b0deab26

    all i wanted was to build a simple database with a webform to add and remove data.
    have some rather simple commands of presenting the data, like birthdays etc.

  10. #25
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    Are you using the Immediate window?

  11. #26
    Behedwin is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Sep 2016
    Posts
    61
    what is that?

    i got o365
    installed access and all other software
    so i got version 2016 of office.

    creating a app in sharepoint.
    worked off a template.
    it seems however i got way more options if i design a desktop version rather than an sharepoint app.
    but there seems not to be any possibility to publish a desktop version to sharepoint.

    but when googling around i see only examples of publishing from access 2010

  12. #27
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Calculate age based on birthday
    By MediaCo in forum Access
    Replies: 10
    Last Post: 10-14-2014, 01:00 PM
  2. Just want a plain Birthday Report
    By Palomino33 in forum Queries
    Replies: 7
    Last Post: 11-03-2011, 05:29 PM
  3. Birthday Expression
    By cassidym in forum Queries
    Replies: 7
    Last Post: 03-17-2011, 05:52 AM
  4. Birthday format
    By endri81 in forum Forms
    Replies: 1
    Last Post: 02-12-2011, 04:07 PM
  5. Calendar Birthday Question
    By kirklandwater123 in forum Access
    Replies: 4
    Last Post: 10-29-2010, 11:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums