1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Solved: Conversion of greg to hijri

Discussion in 'Software Development' started by aattas, Jan 20, 2015.

Thread Status:
Not open for further replies.
  1. aattas

    aattas Thread Starter

    Joined:
    Feb 27, 2013
    Messages:
    89
    I have the following code for converting the hijri to greg but when i click, the conversion for the first time it displays the same date in greg and hjiri. I needed to change any date and then i click again then it changed to the correct date. I need to know a command that tells the system to go ahead and convert once.

    Need help

    Private Sub BankgurrantidateE_AfterUpdate()
    Me.[Bankguaranteeexpirydate] = StDteHijriOfStDteGreg([BankgurrantidateE])
    End Sub
     
  2. aattas

    aattas Thread Starter

    Joined:
    Feb 27, 2013
    Messages:
    89
    Hi guys ,


    I found the problem, the reason is in the options where the Hijri date is ticked. I removed the tick and work like a charm


    Thanks to all.
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/1141551

  1. 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.
    Dismiss Notice